aboutsummaryrefslogtreecommitdiff
path: root/config/cloog.m4
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2011-01-25 20:47:36 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2011-01-25 20:47:36 +0100
commit6be7b6686fa5ad8be50dd578a05dfd0f6d478353 (patch)
treef0b865be1687e4a9c82a04e0937540614b4f15ed /config/cloog.m4
parente4cba915b8a3faa7eada627ac25c7093cf8eb926 (diff)
downloadgcc-6be7b6686fa5ad8be50dd578a05dfd0f6d478353.zip
gcc-6be7b6686fa5ad8be50dd578a05dfd0f6d478353.tar.gz
gcc-6be7b6686fa5ad8be50dd578a05dfd0f6d478353.tar.bz2
cloog.m4 (CLOOG_REQUESTED): Use $2 if --without-cloog.
* config/cloog.m4 (CLOOG_REQUESTED): Use $2 if --without-cloog. * configure.ac: If with_ppl is no, move setting with_cloog=no after CLOOG_REQUESTED check. * configure: Regenerated. From-SVN: r169249
Diffstat (limited to 'config/cloog.m4')
-rw-r--r--config/cloog.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/config/cloog.m4 b/config/cloog.m4
index e1eb9e8..ec8b46d 100644
--- a/config/cloog.m4
+++ b/config/cloog.m4
@@ -88,7 +88,9 @@ AC_DEFUN([CLOOG_REQUESTED],
[
AC_REQUIRE([CLOOG_INIT_FLAGS])
- if test "x${with_cloog}" != x \
+ if test "x${with_cloog}" = xno; then
+ $2
+ elif test "x${with_cloog}" != x \
|| test "x${with_cloog_include}" != x \
|| test "x${with_cloog_lib}" != x ; then
$1