Tobi,
    Can you update the isl and cloog tarballs in the gcc infrastructure 
directory
to the new isl 0.11.1 and cloog 0.18.0 releases from...

ftp://ftp.linux.student.kuleuven.be/pub/people/skimo/isl//isl-0.11.1.tar.bz2
http://www.bastoul.net/cloog/pages/download/cloog-0.18.0.tar.gz

It looks like config/isl.m4 needs to be modified to understand MAJOR, MINOR, 
REVISION
for the isl 0.11.1 version numbering.

Index: configure.ac
===================================================================
--- configure.ac        (revision 194661)
+++ configure.ac        (working copy)
@@ -1607,7 +1607,7 @@ if test "x$with_isl" != "xno" &&
   dnl with user input.
   ISL_INIT_FLAGS
   dnl The minimal version of ISL required for Graphite.
-  ISL_CHECK_VERSION(0,10)
+  ISL_CHECK_VERSION(0,11,1)
   dnl Only execute fail-action, if ISL has been requested.
   ISL_IF_FAILED([
     AC_MSG_ERROR([Unable to find a usable ISL.  See config.log for details.])])
@@ -1621,7 +1621,7 @@ if test "x$with_isl" != "xno" &&
     dnl
     dnl If we use CLooG-Legacy, the provided version information is
     dnl ignored.
-    CLOOG_CHECK_VERSION(0,17,0)
+    CLOOG_CHECK_VERSION(0,18,0)
 
     dnl Only execute fail-action, if CLooG has been requested.
     CLOOG_IF_FAILED([
Index: config/isl.m4
===================================================================
--- config/isl.m4       (revision 194661)
+++ config/isl.m4       (working copy)
@@ -89,13 +89,13 @@ AC_DEFUN([ISL_REQUESTED],
 ]
 )
 
-# _ISL_CHECK_CT_PROG(MAJOR, MINOR)
+# _ISL_CHECK_CT_PROG(MAJOR, MINOR, REVISION)
 # --------------------------------------------
 # Helper for verifying ISL compile time version.
 m4_define([_ISL_CHECK_CT_PROG],[AC_LANG_PROGRAM(
   [#include <isl/version.h>
    #include <string.h>],
-  [if (strncmp (isl_version (), "isl-$1.$2", strlen ("isl-$1.$2")) != 0)
+  [if (strncmp (isl_version (), "isl-$1.$2.$3", strlen ("isl-$1.$2.$3")) != 0)
      return 1;
    ])])
 
@@ -115,9 +115,9 @@ AC_DEFUN([ISL_CHECK_VERSION],
     LIBS="${_isl_saved_LIBS} -lisl"
     echo $CFLAGS
 
-    AC_CACHE_CHECK([for version $1.$2 of ISL],
+    AC_CACHE_CHECK([for version $1.$2.$3 of ISL],
       [gcc_cv_isl],
-      [AC_RUN_IFELSE([_ISL_CHECK_CT_PROG($1,$2)],
+      [AC_RUN_IFELSE([_ISL_CHECK_CT_PROG($1,$2,$3)],
        [gcc_cv_isl=yes],
        [gcc_cv_isl=no],
        [gcc_cv_isl=yes])])

seems to work fine. Thanks in advance.
          Jack


Reply via email to