configure.ac: Set CXXFLAGS for ISL test.
authorJason Merrill <jason@redhat.com>
Tue, 26 May 2015 13:12:14 +0000 (09:12 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 26 May 2015 13:12:14 +0000 (09:12 -0400)
* configure.ac: Set CXXFLAGS for ISL test.
* configure: Regenerate.

From-SVN: r223694

gcc/ChangeLog
gcc/configure
gcc/configure.ac

index 08f5586c55ad918cfc2955e55d9edfcfdf26cfd0..cea5622e1bd0bb428f0e81fb182e855bfe0084e3 100644 (file)
@@ -1,5 +1,8 @@
 2015-05-26  Jason Merrill  <jason@redhat.com>
 
+       * configure.ac: Set CXXFLAGS for ISL test.
+       * configure: Regenerate.
+
        * configure.ac: Use C++ for all tests.  Use AC_CHECK_DECLS for
        strstr and basename.
        * configure: Regenerate.
index 6d808be3c96e49d482028f30ddf9b6c07967b33c..a62f232f55d4730225e3c661a8f26985eb61ec39 100755 (executable)
@@ -28286,8 +28286,8 @@ fi
 # Check whether isl_schedule_constraints_compute_schedule is available;
 # it's new in ISL-0.13.
 if test "x${ISLLIBS}" != "x" ; then
-  saved_CFLAGS="$CFLAGS"
-  CFLAGS="$CFLAGS $ISLINC"
+  saved_CXXFLAGS="$CXXFLAGS"
+  CXXFLAGS="$CXXFLAGS $ISLINC"
   saved_LIBS="$LIBS"
   LIBS="$LIBS $ISLLIBS $GMPLIBS"
 
@@ -28315,7 +28315,7 @@ rm -f core conftest.err conftest.$ac_objext \
 $as_echo "$ac_has_isl_schedule_constraints_compute_schedule" >&6; }
 
   LIBS="$saved_LIBS"
-  CFLAGS="$saved_CFLAGS"
+  CXXFLAGS="$saved_CXXFLAGS"
 
   if test x"$ac_has_isl_schedule_constraints_compute_schedule" = x"yes"; then
 
index 5f9ed924fdb38197ea034f448397a0fb755e4e2d..71b5f4f4c7f8aafd73f6fc576dfb15412bb97472 100644 (file)
@@ -5712,8 +5712,8 @@ fi
 # Check whether isl_schedule_constraints_compute_schedule is available;
 # it's new in ISL-0.13.
 if test "x${ISLLIBS}" != "x" ; then
-  saved_CFLAGS="$CFLAGS"
-  CFLAGS="$CFLAGS $ISLINC"
+  saved_CXXFLAGS="$CXXFLAGS"
+  CXXFLAGS="$CXXFLAGS $ISLINC"
   saved_LIBS="$LIBS"
   LIBS="$LIBS $ISLLIBS $GMPLIBS"
 
@@ -5725,7 +5725,7 @@ if test "x${ISLLIBS}" != "x" ; then
   AC_MSG_RESULT($ac_has_isl_schedule_constraints_compute_schedule)
 
   LIBS="$saved_LIBS"
-  CFLAGS="$saved_CFLAGS"
+  CXXFLAGS="$saved_CXXFLAGS"
 
   if test x"$ac_has_isl_schedule_constraints_compute_schedule" = x"yes"; then
      AC_DEFINE(HAVE_ISL_SCHED_CONSTRAINTS_COMPUTE_SCHEDULE, 1,