From: Sebastian Pop Date: Mon, 12 Jan 2009 21:36:58 +0000 (+0000) Subject: re PR tree-optimization/38515 (Disabling PPL/CLOOG with configure does not work) X-Git-Tag: releases/gcc-4.4.0~909 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=53095c5686a5f43936587e36fc292dc9fb948006;p=thirdparty%2Fgcc.git re PR tree-optimization/38515 (Disabling PPL/CLOOG with configure does not work) 2009-01-12 Sebastian Pop PR tree-optimization/38515 * configure.ac (cloog-polylib): Removed. (with_ppl, with_cloog): Test for "no". * configure: Regenerated. From-SVN: r143311 --- diff --git a/ChangeLog b/ChangeLog index 57b77940aba1..840d2ac14874 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-01-12 Sebastian Pop + + PR tree-optimization/38515 + * configure.ac (cloog-polylib): Removed. + (with_ppl, with_cloog): Test for "no". + * configure: Regenerated. + 2009-01-11 Daniel Franke * MAINTAINERS: Moved myself to reviewers (Fortran). diff --git a/configure b/configure index f26e2ba5cb7c..d21c8205c935 100755 --- a/configure +++ b/configure @@ -979,7 +979,6 @@ Optional Packages: plus --with-cloog-lib=PATH/lib --with-cloog-include=PATH Specify directory for installed CLooG include files --with-cloog-lib=PATH Specify the directory for the installed CLooG library - --with-cloog-polylib=PATH Specify prefix directory for the installed CLooG-PolyLib package --with-build-sysroot=SYSROOT use sysroot as the system root during the build --with-debug-prefix-map='A=B C=D ...' @@ -4831,11 +4830,16 @@ if test "${with_ppl_lib+set}" = set; then fi; -if test "x$with_ppl" != x; then - ppllibs="-L$with_ppl/lib -lppl_c -lppl -lgmpxx" - pplinc="-I$with_ppl/include $pplinc" - LIBS="$ppllibs $LIBS" -fi +case $with_ppl in + no) + ppllibs= + ;; + *) + ppllibs="-L$with_ppl/lib -lppl_c -lppl -lgmpxx" + pplinc="-I$with_ppl/include $pplinc" + LIBS="$ppllibs $LIBS" + ;; +esac if test "x$with_ppl_include" != x; then pplinc="-I$with_ppl_include $pplinc" fi @@ -4944,22 +4948,17 @@ if test "${with_cloog_lib+set}" = set; then fi; -# Check whether --with-cloog-polylib or --without-cloog-polylib was given. -if test "${with_cloog_polylib+set}" = set; then - withval="$with_cloog_polylib" - -fi; - -if test "x$with_cloog" != x; then - clooglibs="-L$with_cloog/lib -lcloog" - clooginc="-I$with_cloog/include -DCLOOG_PPL_BACKEND " - LIBS="$clooglibs $LIBS" -fi -if test "x$with_cloog_polylib" != x; then - clooglibs="-L$with_cloog/lib -lcloog" - clooginc="-I$with_cloog/include " - LIBS="$clooglibs $LIBS" -fi +case $with_cloog in + no) + clooglibs= + clooginc= + ;; + *) + clooglibs="-L$with_cloog/lib -lcloog" + clooginc="-I$with_cloog/include -DCLOOG_PPL_BACKEND " + LIBS="$clooglibs $LIBS" + ;; +esac if test "x$with_cloog_include" != x; then clooginc="-I$with_cloog_include -DCLOOG_PPL_BACKEND " fi diff --git a/configure.ac b/configure.ac index 6efc633c3087..3ab54a788a6a 100644 --- a/configure.ac +++ b/configure.ac @@ -1324,11 +1324,16 @@ AC_ARG_WITH(ppl, [ --with-ppl=PATH Specify prefix directory for the ins AC_ARG_WITH(ppl_include, [ --with-ppl-include=PATH Specify directory for installed PPL include files]) AC_ARG_WITH(ppl_lib, [ --with-ppl-lib=PATH Specify the directory for the installed PPL library]) -if test "x$with_ppl" != x; then - ppllibs="-L$with_ppl/lib -lppl_c -lppl -lgmpxx" - pplinc="-I$with_ppl/include $pplinc" - LIBS="$ppllibs $LIBS" -fi +case $with_ppl in + no) + ppllibs= + ;; + *) + ppllibs="-L$with_ppl/lib -lppl_c -lppl -lgmpxx" + pplinc="-I$with_ppl/include $pplinc" + LIBS="$ppllibs $LIBS" + ;; +esac if test "x$with_ppl_include" != x; then pplinc="-I$with_ppl_include $pplinc" fi @@ -1373,18 +1378,18 @@ AC_ARG_WITH(cloog, [ --with-cloog=PATH Specify prefix directory for the i plus --with-cloog-lib=PATH/lib]) AC_ARG_WITH(cloog_include, [ --with-cloog-include=PATH Specify directory for installed CLooG include files]) AC_ARG_WITH(cloog_lib, [ --with-cloog-lib=PATH Specify the directory for the installed CLooG library]) -AC_ARG_WITH(cloog-polylib, [ --with-cloog-polylib=PATH Specify prefix directory for the installed CLooG-PolyLib package]) -if test "x$with_cloog" != x; then - clooglibs="-L$with_cloog/lib -lcloog" - clooginc="-I$with_cloog/include -DCLOOG_PPL_BACKEND " - LIBS="$clooglibs $LIBS" -fi -if test "x$with_cloog_polylib" != x; then - clooglibs="-L$with_cloog/lib -lcloog" - clooginc="-I$with_cloog/include " - LIBS="$clooglibs $LIBS" -fi +case $with_cloog in + no) + clooglibs= + clooginc= + ;; + *) + clooglibs="-L$with_cloog/lib -lcloog" + clooginc="-I$with_cloog/include -DCLOOG_PPL_BACKEND " + LIBS="$clooglibs $LIBS" + ;; +esac if test "x$with_cloog_include" != x; then clooginc="-I$with_cloog_include -DCLOOG_PPL_BACKEND " fi