summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authoramker <amker@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-21 09:35:52 +0000
committeramker <amker@138bc75d-0d04-0410-961f-82ee72b054a4>2014-08-21 09:35:52 +0000
commit6ac3b11ec643c5f7665788dec95e0d42fc31c7c6 (patch)
tree0154a0e478644d8ab7b217e20c6e703972644f1b /configure
parent258bd648e6065446a18fe099309116cf658c4421 (diff)
downloadgcc-6ac3b11ec643c5f7665788dec95e0d42fc31c7c6.tar.gz
* configure: Regenerated.
config/ChangeLog * isl.m4 (ISL_CHECK_VERSION): Check link of isl library for cross_compiling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214263 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure22
1 files changed, 22 insertions, 0 deletions
diff --git a/configure b/configure
index 6e24b556d85..c292b095229 100755
--- a/configure
+++ b/configure
@@ -5907,8 +5907,30 @@ $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. */
#include <isl/version.h>