Skip to content
Snippets Groups Projects
Commit b00e3183 authored by fxcoudert's avatar fxcoudert
Browse files

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
parent 1f6bc851
No related branches found
No related tags found
No related merge requests found
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 @@ ...@@ -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
......
This diff is collapsed.
...@@ -139,12 +139,11 @@ AC_SUBST(libtool_VERSION) ...@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment