Re: [PATCH] Add -lpwl to ppllibs.

Sebastian Pop
2011-03-02T14:49:08Z

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

On Wed, Mar 2, 2011 at 06:20, Richard Guenther
<richard.guenther@gmail.com> wrote:
> As you can see from the link line it doesn't link ppl at all.  ppllibs is empty
> for me.
>
> Please revert or fix ASAP.

Does the attached patch fix the problem you are seeing?

Thanks,
Sebastian

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

From 05223494274bc509fddf4f2546f50e4294c9537f Mon Sep 17 00:00:00 2001
From: Sebastian Pop <sebpop@gmail.com>
Date: Wed, 2 Mar 2011 08:47:36 -0600
Subject: [PATCH] Fix configure problem.

---
configure | 2 +-
configure.ac | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

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