re PR bootstrap/55784 (declaration of C function 'const char* strsignal(int)' conflic...
authorRichard Biener <rguenther@suse.de>
Wed, 2 Jan 2013 11:57:31 +0000 (11:57 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 2 Jan 2013 11:57:31 +0000 (11:57 +0000)
2013-01-02  Richard Biener  <rguenther@suse.de>

PR bootstrap/55784
* configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
* configure: Regenerate.

ada/
* gcc-interface/Makefile.in: Add $(GMPINC) to includes.

From-SVN: r194804

gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/gcc-interface/Makefile.in
gcc/configure
gcc/configure.ac

index 73bd92e..210fb54 100644 (file)
@@ -1,3 +1,9 @@
+2013-01-02  Richard Biener  <rguenther@suse.de>
+
+       PR bootstrap/55784
+       * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
+       * configure: Regenerate.
+
 2013-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
 
        * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
index fa4cb07..d9e91b6 100644 (file)
@@ -1,3 +1,8 @@
+2013-01-02  Richard Biener  <rguenther@suse.de>
+
+       PR bootstrap/55784
+       * gcc-interface/Makefile.in: Add $(GMPINC) to includes.
+
 2013-01-02  Thomas Quinot  <quinot@adacore.com>
 
        * exp_intr.adb (Expand_Dispatching_Constructor_Call): Remove
index d27a813..24c9966 100644 (file)
@@ -273,7 +273,7 @@ endif
 # Both . and srcdir are used, in that order,
 # so that tm.h and config.h will be found in the compilation
 # subdirectory rather than in the source directory.
-INCLUDES = -I- -I. -I.. -I$(srcdir)/ada -I$(srcdir) -I$(srcdir)/../include
+INCLUDES = -I- -I. -I.. -I$(srcdir)/ada -I$(srcdir) -I$(srcdir)/../include $(GMPINC)
 
 ADA_INCLUDES = -I- -I. -I$(srcdir)/ada
 
@@ -283,11 +283,11 @@ ADA_INCLUDES = -I- -I. -I$(srcdir)/ada
 ifneq ($(findstring vxworks,$(osys)),)
   INCLUDES_FOR_SUBDIR = -iquote . -iquote .. -iquote ../.. \
                        -iquote $(fsrcdir)/ada \
-                       -I$(fsrcdir)/../include
+                       -I$(fsrcdir)/../include $(GMPINC)
 else
   INCLUDES_FOR_SUBDIR = -iquote . -iquote .. -iquote ../.. \
                        -iquote $(fsrcdir)/ada -iquote $(fsrcdir) \
-                       -I$(fsrcdir)/../include
+                       -I$(fsrcdir)/../include $(GMPINC)
 endif
 
 ADA_INCLUDES_FOR_SUBDIR = -I. -I$(fsrcdir)/ada
index f4f6593..ecdbea4 100755 (executable)
@@ -10321,9 +10321,9 @@ $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
 
 # We will need to find libiberty.h and ansidecl.h
 saved_CFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include"
+CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include $GMPINC"
 saved_CXXFLAGS="$CXXFLAGS"
-CXXFLAGS="$CXXFLAGS -I${srcdir} -I${srcdir}/../include"
+CXXFLAGS="$CXXFLAGS -I${srcdir} -I${srcdir}/../include $GMPINC"
 for ac_func in getenv atol asprintf sbrk abort atof getcwd getwd \
        strsignal strstr stpcpy strverscmp \
        errno snprintf vsnprintf vasprintf malloc realloc calloc \
index 7abe7cf..447a0ca 100644 (file)
@@ -1098,9 +1098,9 @@ AM_LANGINFO_CODESET
 
 # We will need to find libiberty.h and ansidecl.h
 saved_CFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include"
+CFLAGS="$CFLAGS -I${srcdir} -I${srcdir}/../include $GMPINC"
 saved_CXXFLAGS="$CXXFLAGS"
-CXXFLAGS="$CXXFLAGS -I${srcdir} -I${srcdir}/../include"
+CXXFLAGS="$CXXFLAGS -I${srcdir} -I${srcdir}/../include $GMPINC"
 gcc_AC_CHECK_DECLS(getenv atol asprintf sbrk abort atof getcwd getwd \
        strsignal strstr stpcpy strverscmp \
        errno snprintf vsnprintf vasprintf malloc realloc calloc \