]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure: Regenerated.
authorBin Cheng <bin.cheng@arm.com>
Thu, 21 Aug 2014 09:35:52 +0000 (09:35 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Thu, 21 Aug 2014 09:35:52 +0000 (09:35 +0000)
* configure: Regenerated.

config/ChangeLog
* isl.m4 (ISL_CHECK_VERSION): Check link of isl library
for cross_compiling.

From-SVN: r214263

ChangeLog
config/ChangeLog
config/isl.m4
configure

index 3265772827c637dfc86c72a3049b6d4e1e796cd8..5d70f122105389da3f328eb3832961e7c9a4773e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-08-21  Bin Cheng  <bin.cheng@arm.com>
+
+       * configure: Regenerated.
+
 2014-08-19  David Malcolm  <dmalcolm@redhat.com>
 
        * rtx-classes-status.txt (TODO): Add SET_BND_TO
index 3a0d438cd510cc3ec627a7a15150add5d5a42479..82c73bd5cde85e49618329b2350e7883146e5371 100644 (file)
@@ -1,3 +1,8 @@
+2014-08-21  Bin Cheng  <bin.cheng@arm.com>
+
+       * isl.m4 (ISL_CHECK_VERSION): Check link of isl library
+       for cross_compiling.
+
 2014-08-18 Roman Gareev  <gareevroman@gmail.com>
 
        * cloog.m4: Remove the path to isllibs from clooglibs.
index 9743aee0e13037148ff1efb2def7649b2bbc0af9..57ae3c5f740625f04d2ba028bd59ded1fc7f8852 100644 (file)
@@ -122,7 +122,11 @@ AC_DEFUN([ISL_CHECK_VERSION],
     AC_RUN_IFELSE([_ISL_CHECK_CT_PROG($1,$2)],
        [gcc_cv_isl=yes],
        [gcc_cv_isl=no],
-       [gcc_cv_isl=yes])
+       [
+         AC_LINK_IFELSE([_ISL_CHECK_CT_PROG($1,$2)],
+             [gcc_cv_isl=yes],
+             [gcc_cv_isl=no])
+       ])
     AC_MSG_RESULT([$gcc_cv_isl])
 
     CFLAGS=$_isl_saved_CFLAGS
index 6e24b556d85ed335b145e01a1711fd1f172d1057..c292b095229df491485b379a065146a69556e966 100755 (executable)
--- a/configure
+++ b/configure
@@ -5907,7 +5907,29 @@ $as_echo "$as_me: WARNING: using in-tree ISL, disabling version check" >&2;}
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.12 of ISL" >&5
 $as_echo_n "checking for version 0.12 of ISL... " >&6; }
     if test "$cross_compiling" = yes; then :
+
+         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <isl/version.h>
+   #include <string.h>
+int
+main ()
+{
+if (strncmp (isl_version (), "isl-0.12", strlen ("isl-0.12")) != 0)
+     return 1;
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
   gcc_cv_isl=yes
+else
+  gcc_cv_isl=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */