Austin English : configure: Fix sysctl.h check for OpenBSD.
Alexandre Julliard
julliard at winehq.org
Mon Dec 29 08:47:33 CST 2008
Module: wine
Branch: master
Commit: 51094be4f98bab2fcbbaa40322df9ecbfa2e5ac1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=51094be4f98bab2fcbbaa40322df9ecbfa2e5ac1
Author: Austin English <austinenglish at gmail.com>
Date: Sat Dec 27 14:53:53 2008 -0600
configure: Fix sysctl.h check for OpenBSD.
---
configure | 5 ++---
configure.ac | 3 +--
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/configure b/configure
index d0ea3a3..96b7d11 100755
--- a/configure
+++ b/configure
@@ -7444,7 +7444,6 @@ done
-
for ac_header in \
AudioUnit/AudioUnit.h \
Carbon/Carbon.h \
@@ -7547,7 +7546,6 @@ for ac_header in \
sys/statvfs.h \
sys/strtio.h \
sys/syscall.h \
- sys/sysctl.h \
sys/time.h \
sys/times.h \
sys/uio.h \
@@ -7786,7 +7784,8 @@ fi
-for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
+
+for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
do
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
diff --git a/configure.ac b/configure.ac
index 5d7dd5c..6dcd72f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -344,7 +344,6 @@ AC_CHECK_HEADERS(\
sys/statvfs.h \
sys/strtio.h \
sys/syscall.h \
- sys/sysctl.h \
sys/time.h \
sys/times.h \
sys/uio.h \
@@ -363,7 +362,7 @@ AC_HEADER_STAT()
dnl **** Checks for headers that depend on other ones ****
-AC_CHECK_HEADERS([sys/mount.h sys/statfs.h sys/user.h sys/vfs.h],,,
+AC_CHECK_HEADERS([sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h],,,
[#include <sys/types.h>
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
More information about the wine-cvs
mailing list