File:
[cvs.NetBSD.org] /
pkgsrc /
devel /
libstatgrab /
patches /
patch-configure.ac
Revision
1.1:
download - view:
text,
annotated -
select for diffs
Fri May 22 13:45:11 2020 UTC (4 years, 6 months ago) by
joerg
Branches:
MAIN
CVS tags:
pkgsrc-2024Q3-base,
pkgsrc-2024Q3,
pkgsrc-2024Q2-base,
pkgsrc-2024Q2,
pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
HEAD
Use uvm/uvm_extern.h directly on NetBSD.
$NetBSD: patch-configure.ac,v 1.1 2020/05/22 13:45:11 joerg Exp $
--- configure.ac.orig 2020-05-22 12:16:29.426920019 +0000
+++ configure.ac
@@ -688,7 +688,7 @@ AS_CASE([$host_os],
AC_MSG_CHECKING([for BSD specific features])
AC_MSG_RESULT([])
- AC_CHECK_HEADERS([ifaddrs.h kinfo.h libproc.h net/if_media.h sys/dkstat.h sys/disk.h sys/iostat.h sys/resource.h sys/sched.h sys/ucred.h sys/user.h uvm/uvm.h sys/vmmeter.h vm/vm_param.h], , , [AC_LANG_SOURCE([
+ AC_CHECK_HEADERS([ifaddrs.h kinfo.h libproc.h net/if_media.h sys/dkstat.h sys/disk.h sys/iostat.h sys/resource.h sys/sched.h sys/ucred.h sys/user.h uvm/uvm.h uvm/uvm_extern.h sys/vmmeter.h vm/vm_param.h], , , [AC_LANG_SOURCE([
AC_INCLUDES_DEFAULT
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
@@ -1088,6 +1088,9 @@ AC_INCLUDES_DEFAULT
#ifdef HAVE_UVM_UVM_H
#include <uvm/uvm.h>
#endif
+#ifdef HAVE_UVM_UVM_EXTERN_H
+#include <uvm/uvm_extern.h>
+#endif
])])
AS_IF( [test "x$ac_cv_type_struct_uvmexp_sysctl" != "xyes"], [
@@ -1102,6 +1105,9 @@ AC_INCLUDES_DEFAULT
#ifdef HAVE_UVM_UVM_H
#include <uvm/uvm.h>
#endif
+#ifdef HAVE_UVM_UVM_EXTERN_H
+#include <uvm/uvm_extern.h>
+#endif
])])
AS_IF( [test "x$ac_cv_type_struct_uvmexp" = "xyes"], [
@@ -1119,6 +1125,9 @@ AC_INCLUDES_DEFAULT
#ifdef HAVE_UVM_UVM_H
#include <uvm/uvm.h>
#endif
+#ifdef HAVE_UVM_UVM_EXTERN_H
+#include <uvm/uvm_extern.h>
+#endif
]
)])
@@ -1136,6 +1145,9 @@ AC_INCLUDES_DEFAULT
#ifdef HAVE_UVM_UVM_H
#include <uvm/uvm.h>
#endif
+#ifdef HAVE_UVM_UVM_EXTERN_H
+#include <uvm/uvm_extern.h>
+#endif
]
)])
@@ -1153,6 +1165,9 @@ AC_INCLUDES_DEFAULT
#ifdef HAVE_UVM_UVM_H
#include <uvm/uvm.h>
#endif
+#ifdef HAVE_UVM_UVM_EXTERN_H
+#include <uvm/uvm_extern.h>
+#endif
]
)])
])
CVSweb <webmaster@jp.NetBSD.org>