Re: [PATCH] Add -lpwl to ppllibs.

Sebastian Pop
2011-03-02T15:21:36Z

[-- Attachment #1: Type: text/plain, Size: 335 bytes --]

On Wed, Mar 2, 2011 at 09:15, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> On 03/02/2011 04:01 PM, Richard Guenther wrote:
>> It seems to work for me
>>
> Likewise, with my usual simple configure line including only
> --enable-cloog-backend=isl beyond trivial things.

I have committed the attached patch to gcc trunk.

Sebastian

[-- Attachment #2: 0001-Fix-configure-problem.patch --]
[-- Type: text/x-patch, Size: 1674 bytes --]

From 7aa8604d6bcfc9a8523fd769ec8a25e7d8cfba68 Mon Sep 17 00:00:00 2001
From: spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Wed, 2 Mar 2011 15:18:47 +0000
Subject: [PATCH] Fix configure problem.

2011-03-02 Sebastian Pop <sebastian.pop@amd.com>

* configure.ac: Adjust test of with_ppl.
* configure: Regenerated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170618 138bc75d-0d04-0410-961f-82ee72b054a4
---
ChangeLog | 5 +++++
configure | 2 +-
configure.ac | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 92f4f15..b066896 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-03-02 Sebastian Pop <sebastian.pop@amd.com>
+
+ * configure.ac: Adjust test of with_ppl.
+ * configure: Regenerated.
+
2011-03-02 Kai Tietz <ktietz@redhat.com>

* MAINTAINERS: Adjust my e-mail address.
diff --git a/configure b/configure
index 997282f..5e97d0f 100755
--- a/configure
+++ b/configure
@@ -5723,7 +5723,7 @@ if test x"$with_ppl$with_ppl_include$with_ppl_lib" = x && test -d ${srcdir}/ppl;
with_ppl=yes
fi

-if test "x$with_ppl" = xyes; then
+if test "x$with_ppl" != xno; then
if test "x$pwllib" = x; then
saved_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS $ppllibs"
diff --git a/configure.ac b/configure.ac
index 4fb29c0..233ce0a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1675,7 +1675,7 @@ if test x"$with_ppl$with_ppl_include$with_ppl_lib" = x && test -d ${srcdir}/ppl;
with_ppl=yes
fi

-if test "x$with_ppl" = xyes; then
+if test "x$with_ppl" != xno; then
if test "x$pwllib" = x; then
saved_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS $ppllibs"
--
1.7.1