[llvm-commits] [polly] r141067 - in /polly/trunk: autoconf/configure.ac configure
Tobias Grosser
grosser at fim.uni-passau.de
Mon Oct 3 23:55:04 PDT 2011
Author: grosser
Date: Tue Oct 4 01:55:03 2011
New Revision: 141067
URL: http://llvm.org/viewvc/llvm-project?rev=141067&view=rev
Log:
configure: Add gmp_inc when checking for CLooG
Otherwise configure fails if gmp is installed in a non default location.
Modified:
polly/trunk/autoconf/configure.ac
polly/trunk/configure
Modified: polly/trunk/autoconf/configure.ac
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/autoconf/configure.ac?rev=141067&r1=141066&r2=141067&view=diff
==============================================================================
--- polly/trunk/autoconf/configure.ac (original)
+++ polly/trunk/autoconf/configure.ac Tue Oct 4 01:55:03 2011
@@ -82,7 +82,7 @@
dnl Find cloog
saved_CXXFLAGS=$CXXFLAGS
-CXXFLAGS="$CXXFLAGS $isl_inc"
+CXXFLAGS="$CXXFLAGS $gmp_inc $isl_inc"
find_lib_and_headers([cloog], [cloog/isl/cloog.h], [cloog-isl], [required])
CXXFLAGS=$saved_CXXFLAGS
Modified: polly/trunk/configure
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/configure?rev=141067&r1=141066&r2=141067&view=diff
==============================================================================
--- polly/trunk/configure (original)
+++ polly/trunk/configure Tue Oct 4 01:55:03 2011
@@ -2542,7 +2542,7 @@
saved_CXXFLAGS=$CXXFLAGS
-CXXFLAGS="$CXXFLAGS $isl_inc"
+CXXFLAGS="$CXXFLAGS $gmp_inc $isl_inc"
ac_ext=cpp
ac_cpp='$CXXCPP $CPPFLAGS'
More information about the llvm-commits
mailing list