From 51094be4f98bab2fcbbaa40322df9ecbfa2e5ac1 Mon Sep 17 00:00:00 2001 From: Austin English Date: Sat, 27 Dec 2008 14:53:53 -0600 Subject: [PATCH] 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 d0ea3a366b..96b7d11a23 100755 --- a/configure +++ b/configure @@ -7442,7 +7442,6 @@ done - for ac_header in \ @@ -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 5d7dd5c6c6..6dcd72f229 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 #ifdef HAVE_SYS_PARAM_H # include