diff options
-rw-r--r-- | libgomp/ChangeLog | 6 | ||||
-rw-r--r-- | libgomp/config.h.in | 3 | ||||
-rwxr-xr-x | libgomp/configure | 2 | ||||
-rw-r--r-- | libgomp/configure.ac | 2 |
4 files changed, 11 insertions, 2 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 34b3396..a01f9b2 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,9 @@ +2015-06-23 Andreas Tobler <andreast@gcc.gnu.org> + + * configure.ac: Fix check for header <sys/sysctl.h>. + * configure: Regenerate. + * config.h.in: Likewise. + 2015-06-23 Tom de Vries <tom@codesourcery.com> * 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 1fab258..8533f03 100644 --- a/libgomp/config.h.in +++ b/libgomp/config.h.in @@ -73,6 +73,9 @@ /* Define to 1 if you have the <sys/stat.h> header file. */ #undef HAVE_SYS_STAT_H +/* Define to 1 if you have the <sys/sysctl.h> header file. */ +#undef HAVE_SYS_SYSCTL_H + /* Define to 1 if you have the <sys/time.h> header file. */ #undef HAVE_SYS_TIME_H diff --git a/libgomp/configure b/libgomp/configure index 8b5e210..f1a92ba 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 51e646d..9cf0218 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) |