summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog29
-rw-r--r--config/bootstrap-asan.mk6
-rw-r--r--config/cloog.m415
-rw-r--r--config/isl.m410
-rw-r--r--config/libstdc++-raw-cxx.m430
5 files changed, 11 insertions, 79 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index c6e8b256e..56dc9b3ba 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,32 +1,3 @@
-2013-01-15 Richard Biener <rguenther@suse.de>
-
- PR other/55973
- * isl.m4 (ISL_INIT_FLAGS): Warn about disabled version check
- for in-tree build.
- (ISL_CHECK_VERSION): Do not use AC_CACHE_CHECK.
- * cloog.m4 (CLOOG_INIT_FLAGS): Disable version check for
- in-tree build and warn about that.
- (CLOOG_CHECK_VERSION): Do not use AC_CACHE_CHECK.
-
-2013-01-07 H.J. Lu <hongjiu.lu@intel.com>
-
- * libstdc++-raw-cxx.m4 (GCC_LIBSTDCXX_RAW_CXX_FLAGS): Remove
- "-I" from LIBSTDCXX_RAW_CXX_LDFLAGS.
-
-2012-12-12 H.J. Lu <hongjiu.lu@intel.com>
-
- * libstdc++-raw-cxx.m4 (GCC_LIBSTDCXX_RAW_CXX_FLAGS): Also
- AC_SUBST LIBSTDCXX_RAW_CXX_LDFLAGS.
-
-2012-12-11 H.J. Lu <hongjiu.lu@intel.com>
-
- PR sanitizer/55533
- * libstdc++-raw-cxx.m4: New file.
-
-2012-11-28 H.J. Lu <hongjiu.lu@intel.com>
-
- * bootstrap-asan.mk: New file.
-
2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
* dfp.m4 (enable_decimal_float): Enable for i?86*-*-gnu*.
diff --git a/config/bootstrap-asan.mk b/config/bootstrap-asan.mk
deleted file mode 100644
index d37a9da6b..000000000
--- a/config/bootstrap-asan.mk
+++ /dev/null
@@ -1,6 +0,0 @@
-# This option enables -fsanitize=address for stage2 and stage3.
-
-STAGE2_CFLAGS += -fsanitize=address
-STAGE3_CFLAGS += -fsanitize=address
-POSTSTAGE1_LDFLAGS += -fsanitize=address -static-libasan \
- -B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/.libs
diff --git a/config/cloog.m4 b/config/cloog.m4
index 670cd652f..a92ef2ea7 100644
--- a/config/cloog.m4
+++ b/config/cloog.m4
@@ -57,15 +57,12 @@ AC_DEFUN([CLOOG_INIT_FLAGS],
if test "x${with_cloog_lib}" != x; then
clooglibs="-L$with_cloog_lib"
fi
- dnl If no --with-cloog flag was specified and there is in-tree CLooG
- dnl source, set up flags to use that and skip any version tests
- dnl as we cannot run them reliably before building CLooG
+ dnl If no --with-cloog flag was specified and there is in-tree ClooG
+ dnl source, set up flags to use that.
if test "x${clooginc}" = x && test "x${clooglibs}" = x \
&& test -d ${srcdir}/cloog; then
clooglibs='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
clooginc='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -I'${srcdir}'/cloog/include '
- ENABLE_CLOOG_CHECK=no
- AC_MSG_WARN([using in-tree CLooG, disabling version check])
fi
clooginc="-DCLOOG_INT_GMP ${clooginc}"
@@ -118,11 +115,11 @@ AC_DEFUN([CLOOG_CHECK_VERSION],
CFLAGS="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
LDFLAGS="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
- AC_MSG_CHECKING([for version $1.$2.$3 of CLooG])
- AC_COMPILE_IFELSE([_CLOOG_CHECK_CT_PROG($1,$2,$3)],
+ AC_CACHE_CHECK([for version $1.$2.$3 of CLooG],
+ [gcc_cv_cloog],
+ [AC_COMPILE_IFELSE([_CLOOG_CHECK_CT_PROG($1,$2,$3)],
[gcc_cv_cloog=yes],
- [gcc_cv_cloog=no])
- AC_MSG_RESULT([$gcc_cv_cloog])
+ [gcc_cv_cloog=no])])
CFLAGS=$_cloog_saved_CFLAGS
LDFLAGS=$_cloog_saved_LDFLAGS
diff --git a/config/isl.m4 b/config/isl.m4
index f45854d22..ba3fa1b7f 100644
--- a/config/isl.m4
+++ b/config/isl.m4
@@ -66,7 +66,6 @@ AC_DEFUN([ISL_INIT_FLAGS],
isllibs='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
islinc='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
ENABLE_ISL_CHECK=no
- AC_MSG_WARN([using in-tree ISL, disabling version check])
fi
]
)
@@ -114,13 +113,14 @@ AC_DEFUN([ISL_CHECK_VERSION],
CFLAGS="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
LDFLAGS="${_isl_saved_LDFLAGS} ${isllibs}"
LIBS="${_isl_saved_LIBS} -lisl"
+ echo $CFLAGS
- AC_MSG_CHECKING([for version $1.$2 of ISL])
- AC_RUN_IFELSE([_ISL_CHECK_CT_PROG($1,$2)],
+ AC_CACHE_CHECK([for version $1.$2 of ISL],
+ [gcc_cv_isl],
+ [AC_RUN_IFELSE([_ISL_CHECK_CT_PROG($1,$2)],
[gcc_cv_isl=yes],
[gcc_cv_isl=no],
- [gcc_cv_isl=yes])
- AC_MSG_RESULT([$gcc_cv_isl])
+ [gcc_cv_isl=yes])])
CFLAGS=$_isl_saved_CFLAGS
LDFLAGS=$_isl_saved_LDFLAGS
diff --git a/config/libstdc++-raw-cxx.m4 b/config/libstdc++-raw-cxx.m4
deleted file mode 100644
index aafa50950..000000000
--- a/config/libstdc++-raw-cxx.m4
+++ /dev/null
@@ -1,30 +0,0 @@
-# This file is part of GCC.
-#
-# GCC is free software; you can redistribute it and/or modify it under
-# the terms of the GNU General Public License as published by the Free
-# Software Foundation; either version 3, or (at your option) any later
-# version.
-#
-# GCC is distributed in the hope that it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-# for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with GCC; see the file COPYING3. If not see
-# <http://www.gnu.org/licenses/>.
-
-# Define flags, LIBSTDCXX_RAW_CXX_CXXFLAGS and # LIBSTDCXX_RAW_CXX_LDFLAGS,
-# for libstdc++-v3 header files to compile and link libraries in C++ with
-# raw_cxx=true.
-AC_DEFUN([GCC_LIBSTDCXX_RAW_CXX_FLAGS], [
- AC_REQUIRE([ACX_NONCANONICAL_TARGET])
- LIBSTDCXX_RAW_CXX_CXXFLAGS="\
- -I\$(top_builddir)/../libstdc++-v3/include \
- -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \
- -I\$(top_srcdir)/../libstdc++-v3/libsupc++"
- LIBSTDCXX_RAW_CXX_LDFLAGS="\
- \$(top_builddir)/../libstdc++-v3/src/libstdc++.la"
- AC_SUBST(LIBSTDCXX_RAW_CXX_CXXFLAGS)
- AC_SUBST(LIBSTDCXX_RAW_CXX_LDFLAGS)
-])