[llvm-commits] [polly] r165034 - in /polly/trunk: autoconf/configure.ac cmake/FindIsl.cmake configure

Tobias Grosser grosser at fim.uni-passau.de
Tue Oct 2 12:50:22 PDT 2012


Author: grosser
Date: Tue Oct  2 14:50:22 2012
New Revision: 165034

URL: http://llvm.org/viewvc/llvm-project?rev=165034&view=rev
Log:
Detect the isl code generation feature correctly

Modified:
    polly/trunk/autoconf/configure.ac
    polly/trunk/cmake/FindIsl.cmake
    polly/trunk/configure

Modified: polly/trunk/autoconf/configure.ac
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/autoconf/configure.ac?rev=165034&r1=165033&r2=165034&view=diff
==============================================================================
--- polly/trunk/autoconf/configure.ac (original)
+++ polly/trunk/autoconf/configure.ac Tue Oct  2 14:50:22 2012
@@ -81,7 +81,7 @@
 find_lib_and_headers([isl], [isl/config.h], [isl], [required])
 
 dnl Find whether ISL has a codegen.h file.
-find_lib_and_headers([isl], [isl/codegen.h], [isl])
+find_lib_and_headers([isl], [isl/ast.h], [isl])
 AS_IF([test "x$isl_found" = "xyes"],
   [AC_DEFINE([ISL_CODEGEN_FOUND],[1],[Define if ISL has a code generator])])
 

Modified: polly/trunk/cmake/FindIsl.cmake
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/cmake/FindIsl.cmake?rev=165034&r1=165033&r2=165034&view=diff
==============================================================================
--- polly/trunk/cmake/FindIsl.cmake (original)
+++ polly/trunk/cmake/FindIsl.cmake Tue Oct  2 14:50:22 2012
@@ -1,5 +1,5 @@
 FIND_PATH(ISL_INCLUDE_DIR isl/set.h)
-FIND_PATH(ISL_CODEGEN_DIR isl/codegen.h)
+FIND_PATH(ISL_CODEGEN_DIR isl/ast.h)
 
 IF (ISL_CODEGEN_DIR)
   SET(ISL_CODEGEN_FOUND TRUE)

Modified: polly/trunk/configure
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/configure?rev=165034&r1=165033&r2=165034&view=diff
==============================================================================
--- polly/trunk/configure (original)
+++ polly/trunk/configure Tue Oct  2 14:50:22 2012
@@ -2597,13 +2597,13 @@
 fi
 
   # Check for library and headers works
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl: isl/codegen.h in $given_inc_path, and libisl in $given_lib_path" >&5
-$as_echo_n "checking for isl: isl/codegen.h in $given_inc_path, and libisl in $given_lib_path... " >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl: isl/ast.h in $given_inc_path, and libisl in $given_lib_path" >&5
+$as_echo_n "checking for isl: isl/ast.h in $given_inc_path, and libisl in $given_lib_path... " >&6; }
 
   # try to compile a file that includes a header of the library
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <isl/codegen.h>
+#include <isl/ast.h>
 int
 main ()
 {





More information about the llvm-commits mailing list