summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--config/cloog.m44
-rwxr-xr-xconfigure4
3 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b9852b09da..ed5335de13c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-12 Tobias Grosser <grosser@fim.uni-passau.de>
+
+ * config/cloog.m4: Pass ppl libraries to the CLooG version check.
+ * configure: Regenerate.
+
2010-11-11 Jan Hubicka <jh@suse.cz>
* config/bootstrap-lto: Use -flto.
diff --git a/config/cloog.m4 b/config/cloog.m4
index 9ddea982d19..3aaf8c8dcdc 100644
--- a/config/cloog.m4
+++ b/config/cloog.m4
@@ -120,7 +120,7 @@ AC_DEFUN([CLOOG_FIND_FLAGS],
dnl clooglibs & clooginc may have been initialized by CLOOG_INIT_FLAGS.
CFLAGS="${CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
CPPFLAGS="${CPPFLAGS} ${_clooglegacyinc} ${_cloogorginc}"
- LDFLAGS="${LDFLAGS} ${clooglibs}"
+ LDFLAGS="${LDFLAGS} ${clooglibs} ${ppllibs}"
AC_CACHE_CHECK([for installed CLooG],
[gcc_cv_cloog_type],
@@ -204,7 +204,7 @@ AC_DEFUN([CLOOG_CHECK_VERSION],
_cloog_saved_LDFLAGS=$LDFLAGS
CFLAGS="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
- LDFLAGS="${_cloog_saved_LDFLAGS} ${clooglibs}"
+ LDFLAGS="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
if test "${cloog_org}" = yes ; then
AC_CACHE_CHECK([for verison $1.$2.$3 of CLooG],
diff --git a/configure b/configure
index 04b930d618f..e681a7a7439 100755
--- a/configure
+++ b/configure
@@ -5730,7 +5730,7 @@ if test "x$with_cloog" != "xno"; then
CFLAGS="${CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
CPPFLAGS="${CPPFLAGS} ${_clooglegacyinc} ${_cloogorginc}"
- LDFLAGS="${LDFLAGS} ${clooglibs}"
+ LDFLAGS="${LDFLAGS} ${clooglibs} ${ppllibs}"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG" >&5
$as_echo_n "checking for installed CLooG... " >&6; }
@@ -5833,7 +5833,7 @@ $as_echo "$gcc_cv_cloog_type" >&6; }
_cloog_saved_LDFLAGS=$LDFLAGS
CFLAGS="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
- LDFLAGS="${_cloog_saved_LDFLAGS} ${clooglibs}"
+ LDFLAGS="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
if test "${cloog_org}" = yes ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for verison 0.14.0 of CLooG" >&5