diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2006-01-24 21:06:07 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2006-01-24 13:06:07 -0800 |
commit | 18cbfd85b2bc95e46a7f71eb491dde7eee89e086 (patch) | |
tree | b1f983ccd54946db3e0d1ad612bca07291019215 /libgomp/configure.ac | |
parent | 38fd6679a33ecd336bc21027821e4e0b9fb0363a (diff) | |
download | gcc-18cbfd85b2bc95e46a7f71eb491dde7eee89e086.zip gcc-18cbfd85b2bc95e46a7f71eb491dde7eee89e086.tar.gz gcc-18cbfd85b2bc95e46a7f71eb491dde7eee89e086.tar.bz2 |
re PR libgomp/25259 (bootstrap failures on non-C99 platforms (no stdint.h))
PR libgomp/25259
* configure.ac: Use GCC_HEADER_STDINT.
* libgomp.h: Include gstdint.h.
* libgomp_f.h.in: Don't include stdint.h or inttypes.h.
* configure, Makefile.in, testsuite/Makefile.in, aclocal.m4: Rebuild.
From-SVN: r110179
Diffstat (limited to 'libgomp/configure.ac')
-rw-r--r-- | libgomp/configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgomp/configure.ac b/libgomp/configure.ac index dbc5ed3..5bdd37d 100644 --- a/libgomp/configure.ac +++ b/libgomp/configure.ac @@ -142,6 +142,8 @@ AC_CHECK_HEADERS(unistd.h semaphore.h sys/loadavg.h sys/time.h) AC_CHECK_HEADER([pthread.h],[], [AC_MSG_ERROR([Pthreads are required to build libgomp])]) +GCC_HEADER_STDINT(gstdint.h) + # Check to see if -pthread or -lpthread is needed. Prefer the former. XPCFLAGS="" CFLAGS="$CFLAGS -pthread" |