Patchwork Add -lpwl to ppllibs.

login
register
mail settings
Submitter Sebastian Pop
Date March 2, 2011, 3:20 p.m.
Message ID <AANLkTin9SWES36zqig-HkpLYpRzCQU4mF8Y0N87gzCzA@mail.gmail.com>
Download mbox | patch
Permalink /patch/85095/
State New
Headers show

Comments

Sebastian Pop - March 2, 2011, 3:20 p.m.
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

Patch

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