Changeset: c1ab10a1a87f for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=c1ab10a1a87f
Modified Files:
        configure.ag
Branch: Apr2011
Log Message:

configure: check sys/sysctl.h with sys/param.h for OpenBSD


diffs (28 lines):

diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -2479,7 +2479,6 @@
        sys/param.h \
        sys/resource.h \
        sys/socket.h \
-       sys/sysctl.h \
        sys/time.h \
        sys/times.h \
        sys/types.h \
@@ -2496,6 +2495,16 @@
        xmmintrin.h \
        ])
 
+dnl on OpenBSD, sys/sysctl.h needs requires sys/param.h to be included
+dnl beforehand
+AC_CHECK_HEADERS([sys/sysctl.h], [], [],
+[
+  #ifdef HAVE_SYS_PARAM_H
+  # include <sys/param.h>
+  #endif
+])
+
+
 SOCKET_LIBS=""
 have_setsockopt=no
 
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to