summaryrefslogtreecommitdiffstats
path: root/libgomp/configure.ac
diff options
context:
space:
mode:
authorfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-17 19:01:04 +0000
committerfxcoudert <fxcoudert@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-17 19:01:04 +0000
commitb00e31838f8495da09206afea5e8b613a85855e1 (patch)
treeb68ab0d2208666a26d178781492037c55ce47846 /libgomp/configure.ac
parent1f6bc851c1746b42bc4739ec9d4b1505dffb1872 (diff)
downloadppe42-gcc-b00e31838f8495da09206afea5e8b613a85855e1.tar.gz
ppe42-gcc-b00e31838f8495da09206afea5e8b613a85855e1.zip
PR bootstrap/26161
* configure.ac: Remove AC_CHECK_HEADER for pthread.h. Add comment for the other pthread check. * configure: Regenerate. * config.h.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111205 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/configure.ac')
-rw-r--r--libgomp/configure.ac3
1 files changed, 1 insertions, 2 deletions
diff --git a/libgomp/configure.ac b/libgomp/configure.ac
index 2ae6deff0a6..dd4faf8d145 100644
--- a/libgomp/configure.ac
+++ b/libgomp/configure.ac
@@ -139,12 +139,11 @@ AC_SUBST(libtool_VERSION)
AC_STDC_HEADERS
AC_HEADER_TIME
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.
+# In case the pthread.h system header is not found, this test will fail.
XPCFLAGS=""
CFLAGS="$CFLAGS -pthread"
AC_LINK_IFELSE(
OpenPOWER on IntegriCloud