diff options
author | grosser <grosser@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-12 22:08:38 +0000 |
---|---|---|
committer | grosser <grosser@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-12 22:08:38 +0000 |
commit | 81b9d1484f3d9fffc46ce306183595749bcdf557 (patch) | |
tree | b8557238fb990683a41038e8d6019c55d457f0ec /configure | |
parent | 9282e471abe27dea89d6011b241ee35abc866673 (diff) | |
download | gcc-81b9d1484f3d9fffc46ce306183595749bcdf557.tar.gz |
Improve check for CLooG PPL Legacy.
* config/cloog.m4: Use CLooG predefined macro to check for CLooG PPL.
* configure: regenerate
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166682 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/configure b/configure index dcb582f540b..0e4f1ed5baa 100755 --- a/configure +++ b/configure @@ -5725,11 +5725,10 @@ if test "x$with_cloog" != "xno"; then _cloog_saved_LDFLAGS=$LDFLAGS _cloog_saved_LIBS=$LIBS - _clooglegacyinc="-DCLOOG_PPL_BACKEND" _cloogorginc="-DCLOOG_INT_GMP -DCLOOG_ORG" CFLAGS="${CFLAGS} ${clooginc} ${pplinc} ${gmpinc}" - CPPFLAGS="${CPPFLAGS} ${_clooglegacyinc} ${_cloogorginc}" + CPPFLAGS="${CPPFLAGS} ${_cloogorginc}" LDFLAGS="${LDFLAGS} ${clooglibs} ${ppllibs}" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG" >&5 @@ -5740,11 +5739,13 @@ else LIBS="-lcloog ${_cloog_saved_LIBS}" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include <cloog/cloog.h> +#include "cloog/cloog.h" int main () { -ppl_version_major () +#ifndef CLOOG_PPL_BACKEND + choke me + #endif ; return 0; } @@ -5755,7 +5756,7 @@ else LIBS="-lcloog-isl -lisl ${_cloog_saved_LIBS}" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include <cloog/cloog.h> +#include "cloog/cloog.h" int main () { @@ -5770,7 +5771,7 @@ else LIBS="-lcloog-ppl ${_cloog_saved_LIBS}" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include <cloog/cloog.h> +#include "cloog/cloog.h" int main () { @@ -5798,7 +5799,7 @@ $as_echo "$gcc_cv_cloog_type" >&6; } case $gcc_cv_cloog_type in "PPL Legacy") - clooginc="${clooginc} ${_clooglegacyinc}" + clooginc="${clooginc}" clooglibs="${clooglibs} -lcloog" cloog_org=no ;; |