aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2011-02-12 14:40:09 +0000
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2011-02-12 14:40:09 +0000
commit8d8eef9acce4ee4356d42584846e34169a66060d (patch)
tree2deebbd099a873e3c66c06f056abb19c81055157 /configure.ac
parent181d9476d84de551b767c2a3a38676b762a31102 (diff)
downloadgdb-8d8eef9acce4ee4356d42584846e34169a66060d.zip
gdb-8d8eef9acce4ee4356d42584846e34169a66060d.tar.gz
gdb-8d8eef9acce4ee4356d42584846e34169a66060d.tar.bz2
Sync toplevel and config/ from GCC.
/: Sync from GCC: 2011-02-12 Alexandre Oliva <aoliva@redhat.com> PR lto/47225 * Makefile.def (lto-plugin): Double dash for enable-shared. (configure-gcc): Depend on all-lto-plugin. * Makefile.in: Rebuilt. 2011-02-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * configure.ac: Remove extra bracket. * configure: Regenerate. 2011-02-06 Kai Tietz <kai.tietz@onevision.com> PR lto/47225 * Makefile.def: Add dependency for install-gcc on install-lto-plugin. * Makfile.in: Regenerated 2011-01-25 Jakub Jelinek <jakub@redhat.com> * configure.ac: If with_ppl is no, move setting with_cloog=no after CLOOG_REQUESTED check. * configure: Regenerated. 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * configure.ac: Call AC_MSG_ERROR when PPL 0.11 is not present and CLooG has been requested. * configure: Regenerated. 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * configure: Regenerated. * configure.ac: Check for version 0.11 (or later revision) of PPL. 2011-01-25 Tobias Grosser <grosser@fim.uni-passau.de> * configure: Regenerated. * configure.ac: Use CLOOG_CHECK_VERSION(0,16,1). 2011-01-07 Jan Hubicka <jh@suse.cz> PR lto/47225 * Makefile.in: Regenerate. * Makefile.def (lto-plugin): Always pass enable-shared to the plugin configure. config/: 2011-01-25 Jakub Jelinek <jakub@redhat.com> * cloog.m4 (CLOOG_REQUESTED): Use $2 if --without-cloog. 2011-01-10 Jan Hubicka <jh@suse.cz> * bootstrap-lto.mk: -fuse-linker-plugin is default now; pass -fno-lto to STAGEprofile.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac30
1 files changed, 13 insertions, 17 deletions
diff --git a/configure.ac b/configure.ac
index d266389..9121d65 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1668,9 +1668,9 @@ ENABLE_PPL_CHECK=yes)
if test "x$with_ppl" != "xno" -a "${ENABLE_PPL_CHECK}" = "yes"; then
saved_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $pplinc $gmpinc"
- AC_MSG_CHECKING([for version 0.10 (or later revision) of PPL])
+ AC_MSG_CHECKING([for version 0.11 (or later revision) of PPL])
AC_TRY_COMPILE([#include "ppl_c.h"],[
- #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 10
+ #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11
choke me
#endif
], [AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no]); ppllibs= ; pplinc= ; with_ppl=no ])
@@ -1688,6 +1688,11 @@ dnl Provide configure switches and initialize clooginc & clooglibs
dnl with user input.
CLOOG_INIT_FLAGS
if test "x$with_ppl" = "xno"; then
+ dnl Only execute fail-action, if CLooG has been requested.
+ CLOOG_REQUESTED([graphite_requested=yes], [graphite_requested=no])
+ if test "${graphite_requested}" = yes; then
+ AC_MSG_ERROR([Unable to find a usable PPL. See config.log for details.])
+ fi
with_cloog=no
fi
if test "x${with_cloog}" = x && test "x${with_cloog_include}" = x \
@@ -1696,24 +1701,15 @@ if test "x${with_cloog}" = x && test "x${with_cloog_include}" = x \
clooginc='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include '
fi
if test "x$with_cloog" != "xno"; then
- dnl Version check for CLooG-Org
- dnl As long as there is no new release of CLooG,
- dnl we will check for 0.14.0.
- dnl
- dnl The first git revision that will work with
- dnl GCC is: bd91b845a65805c290d43fc1bef8139864a163fb
- dnl This is enforced implictly, as this is the commit that
- dnl introduced the versioning information used within our
- dnl checks.
+ dnl The minimal version of CLooG required for Graphite.
dnl
- dnl If we're using CLooG-Legacy, the provided version information
- dnl will be ignored.
- CLOOG_CHECK_VERSION(0,14,0)
+ dnl If we use CLooG-Legacy, the provided version information is
+ dnl ignored.
+ CLOOG_CHECK_VERSION(0,16,1)
- dnl Only execute fail-action, if CLooG has been
- dnl requested.
+ dnl Only execute fail-action, if CLooG has been requested.
CLOOG_IF_FAILED([
- AC_MSG_ERROR([Unable to find a usable CLooG. See config.log for details.])])
+ AC_MSG_ERROR([Unable to find a usable CLooG. See config.log for details.])])
fi
# Check for LTO support.