mirror of git://gcc.gnu.org/git/gcc.git
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
|
@ -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>
|
2006-02-15 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
PR libgomp/25938
|
PR libgomp/25938
|
||||||
|
|
|
@ -75,6 +75,21 @@
|
||||||
/* Define to the version of this package. */
|
/* Define to the version of this package. */
|
||||||
#undef PACKAGE_VERSION
|
#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. */
|
/* Define to 1 if you have the ANSI C header files. */
|
||||||
#undef STDC_HEADERS
|
#undef STDC_HEADERS
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -139,12 +139,11 @@ AC_SUBST(libtool_VERSION)
|
||||||
AC_STDC_HEADERS
|
AC_STDC_HEADERS
|
||||||
AC_HEADER_TIME
|
AC_HEADER_TIME
|
||||||
AC_CHECK_HEADERS(unistd.h semaphore.h sys/loadavg.h sys/time.h)
|
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)
|
GCC_HEADER_STDINT(gstdint.h)
|
||||||
|
|
||||||
# Check to see if -pthread or -lpthread is needed. Prefer the former.
|
# 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=""
|
XPCFLAGS=""
|
||||||
CFLAGS="$CFLAGS -pthread"
|
CFLAGS="$CFLAGS -pthread"
|
||||||
AC_LINK_IFELSE(
|
AC_LINK_IFELSE(
|
||||||
|
|
Loading…
Reference in New Issue