summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
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>