re PR bootstrap/26161 (Configure tests for pthread.h sometimes need to use -pthread)
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. From-SVN: r111205
This commit is contained in:
parent
360057959a
commit
124452c9fc
4 changed files with 135 additions and 358 deletions
|
@ -1,3 +1,11 @@
|
|||
2006-02-17 Francois-Xavier Coudert <coudert@clipper.ens.fr>
|
||||
|
||||
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.
|
||||
|
||||
2006-02-15 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR libgomp/25938
|
||||
|
|
|
@ -75,6 +75,21 @@
|
|||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* The size of a `char', as computed by sizeof. */
|
||||
#undef SIZEOF_CHAR
|
||||
|
||||
/* The size of a `int', as computed by sizeof. */
|
||||
#undef SIZEOF_INT
|
||||
|
||||
/* The size of a `long', as computed by sizeof. */
|
||||
#undef SIZEOF_LONG
|
||||
|
||||
/* The size of a `short', as computed by sizeof. */
|
||||
#undef SIZEOF_SHORT
|
||||
|
||||
/* The size of a `void *', as computed by sizeof. */
|
||||
#undef SIZEOF_VOID_P
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
|
|
467
libgomp/configure
vendored
467
libgomp/configure
vendored
File diff suppressed because it is too large
Load diff
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue