configure: Fix sysctl.h check for OpenBSD.

This commit is contained in:
Austin English 2008-12-27 14:53:53 -06:00 committed by Alexandre Julliard
parent 2166afceb7
commit 51094be4f9
2 changed files with 3 additions and 5 deletions

5
configure vendored
View File

@ -7442,7 +7442,6 @@ done
for ac_header in \ for ac_header in \
@ -7547,7 +7546,6 @@ for ac_header in \
sys/statvfs.h \ sys/statvfs.h \
sys/strtio.h \ sys/strtio.h \
sys/syscall.h \ sys/syscall.h \
sys/sysctl.h \
sys/time.h \ sys/time.h \
sys/times.h \ sys/times.h \
sys/uio.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 do
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5

View File

@ -344,7 +344,6 @@ AC_CHECK_HEADERS(\
sys/statvfs.h \ sys/statvfs.h \
sys/strtio.h \ sys/strtio.h \
sys/syscall.h \ sys/syscall.h \
sys/sysctl.h \
sys/time.h \ sys/time.h \
sys/times.h \ sys/times.h \
sys/uio.h \ sys/uio.h \
@ -363,7 +362,7 @@ AC_HEADER_STAT()
dnl **** Checks for headers that depend on other ones **** 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> [#include <sys/types.h>
#ifdef HAVE_SYS_PARAM_H #ifdef HAVE_SYS_PARAM_H
# include <sys/param.h> # include <sys/param.h>