diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-03 09:44:53 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-03 09:44:53 +0000 |
commit | bacb15cb52bbb7ad7f7a52e07ea3f1c71d5c7b1e (patch) | |
tree | edace4e99ce490226712a141b75d7208629bdac5 /configure.ac | |
parent | 03946639ed31d9bf53a0c8b229d699eb97e5dc1d (diff) | |
download | gcc-bacb15cb52bbb7ad7f7a52e07ea3f1c71d5c7b1e.tar.gz |
2012-07-03 Richard Guenther <rguenther@suse.de>
config/
* cloog.m4: Remove debugging print.
* Makefile.def (cloog): Add V=1 to extra_make_flags.
* configure.ac: If either the ISL or the CLooG check failed
do not try to build in-tree versions.
* Makefile.in: Regenerated.
* configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189209 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 12b9c550726..9a23049a6ae 100644 --- a/configure.ac +++ b/configure.ac @@ -1535,7 +1535,10 @@ fi dnl Provide configure switches and initialize clooginc & clooglibs dnl with user input. CLOOG_INIT_FLAGS -if test "x$with_cloog" != "xno"; then +if test "x$isllibs" = x && test "x$islinc" = x; then + clooglibs= + clooginc= +elif test "x$with_cloog" != "xno"; then dnl The minimal version of CLooG required for Graphite. dnl dnl If we use CLooG-Legacy, the provided version information is @@ -1547,6 +1550,12 @@ if test "x$with_cloog" != "xno"; then AC_MSG_ERROR([Unable to find a usable CLooG. See config.log for details.])]) fi +# If either the ISL or the CLooG check failed, disable builds of in-tree +# variants of both +if test "x$clooglibs" = x && test "x$clooginc" = x; then + noconfigdirs="$noconfigdirs cloog isl" +fi + # Check for LTO support. AC_ARG_ENABLE(lto, [AS_HELP_STRING([--enable-lto], [enable link time optimization support])], |