configure.ac: Fix check for header <sys/sysctl.h>.

2015-06-23  Andreas Tobler  <andreast@gcc.gnu.org>

    * configure.ac: Fix check for header <sys/sysctl.h>.
    * configure: Regenerate.
    * config.h.in: Likewise.

From-SVN: r224855
This commit is contained in:
Andreas Tobler 2015-06-23 19:59:59 +02:00
parent 4fa0f9ea8c
commit 6d9d1eeb97
4 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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

2
libgomp/configure vendored
View File

@ -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"

View File

@ -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)