From 6d9d1eeb9708d96b5402513c2e7de25b397bd14c Mon Sep 17 00:00:00 2001 From: Andreas Tobler Date: Tue, 23 Jun 2015 19:59:59 +0200 Subject: [PATCH] configure.ac: Fix check for header . 2015-06-23 Andreas Tobler * configure.ac: Fix check for header . * configure: Regenerate. * config.h.in: Likewise. From-SVN: r224855 --- libgomp/ChangeLog | 6 ++++++ libgomp/config.h.in | 3 +++ libgomp/configure | 2 +- libgomp/configure.ac | 2 +- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 34b3396be09..a01f9b2816c 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,9 @@ +2015-06-23 Andreas Tobler + + * configure.ac: Fix check for header . + * configure: Regenerate. + * config.h.in: Likewise. + 2015-06-23 Tom de Vries * testsuite/libgomp.c/parloops-exit-first-loop-alt-3.c (main): Use diff --git a/libgomp/config.h.in b/libgomp/config.h.in index 1fab25851cb..8533f0345b7 100644 --- a/libgomp/config.h.in +++ b/libgomp/config.h.in @@ -73,6 +73,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SYSCTL_H + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TIME_H diff --git a/libgomp/configure b/libgomp/configure index 8b5e2104c20..f1a92ba9de4 100755 --- a/libgomp/configure +++ b/libgomp/configure @@ -14614,7 +14614,7 @@ $as_echo "#define STRING_WITH_STRINGS 1" >>confdefs.h fi -for ac_header in pthread.h unistd.h semaphore.h sys/loadavg.h sys/time.h sys/time.h +for ac_header in pthread.h unistd.h semaphore.h sys/loadavg.h sys/sysctl.h sys/time.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" diff --git a/libgomp/configure.ac b/libgomp/configure.ac index 51e646d4789..9cf02189665 100644 --- a/libgomp/configure.ac +++ b/libgomp/configure.ac @@ -170,7 +170,7 @@ AC_SUBST(libtool_VERSION) AC_STDC_HEADERS AC_HEADER_TIME ACX_HEADER_STRING -AC_CHECK_HEADERS(pthread.h unistd.h semaphore.h sys/loadavg.h sys/time.h sys/time.h) +AC_CHECK_HEADERS(pthread.h unistd.h semaphore.h sys/loadavg.h sys/sysctl.h sys/time.h) GCC_HEADER_STDINT(gstdint.h) -- 2.30.2