mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 05:44:15 +08:00
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
This commit is contained in:
parent
38fd6679a3
commit
18cbfd85b2
@ -1,3 +1,11 @@
|
||||
2005-01-24 Paolo Bonzini <bonzini@gnu.org>
|
||||
|
||||
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.
|
||||
|
||||
2006-01-24 Richard Henderson <rth@redhat.com>
|
||||
|
||||
PR libgomp/25942
|
||||
|
@ -50,7 +50,8 @@ DIST_COMMON = $(am__configure_deps) $(srcdir)/../config.guess \
|
||||
subdir = .
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/../config/depstand.m4 \
|
||||
$(top_srcdir)/../config/lead-dot.m4 $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/../config/lead-dot.m4 \
|
||||
$(top_srcdir)/../config/stdint.m4 $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/../libtool.m4 $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
|
1
libgomp/aclocal.m4
vendored
1
libgomp/aclocal.m4
vendored
@ -916,4 +916,5 @@ AC_SUBST([am__untar])
|
||||
|
||||
m4_include([../config/depstand.m4])
|
||||
m4_include([../config/lead-dot.m4])
|
||||
m4_include([../config/stdint.m4])
|
||||
m4_include([acinclude.m4])
|
||||
|
3106
libgomp/configure
vendored
3106
libgomp/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -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"
|
||||
|
@ -38,6 +38,7 @@
|
||||
#define LIBGOMP_H 1
|
||||
|
||||
#include "config.h"
|
||||
#include "gstdint.h"
|
||||
|
||||
#include <pthread.h>
|
||||
#include <stdbool.h>
|
||||
|
@ -32,12 +32,6 @@
|
||||
#define LIBGOMP_F_H 1
|
||||
|
||||
#include "libgomp.h"
|
||||
#if HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
#if HAVE_INTTYPES_H
|
||||
#include <inttypes.h>
|
||||
#endif
|
||||
|
||||
#if (OMP_LOCK_SIZE == OMP_LOCK_KIND) \
|
||||
&& (OMP_LOCK_ALIGN <= OMP_LOCK_SIZE)
|
||||
|
@ -40,7 +40,8 @@ subdir = testsuite
|
||||
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/../config/depstand.m4 \
|
||||
$(top_srcdir)/../config/lead-dot.m4 $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/../config/lead-dot.m4 \
|
||||
$(top_srcdir)/../config/stdint.m4 $(top_srcdir)/acinclude.m4 \
|
||||
$(top_srcdir)/../libtool.m4 $(top_srcdir)/configure.ac
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
|
Loading…
Reference in New Issue
Block a user