summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2011-03-21 13:03:33 +0000
committerRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2011-03-21 13:03:33 +0000
commiteaee9f7deaed4e90ae42ce608c6186bf00b66437 (patch)
treeba6a3ee2f5ba7715d2b53c62037c8858cde7eccb /configure
parent2907adc9103c685bd41157ba06e1be51f37a2eab (diff)
downloadbinutils-redhat-eaee9f7deaed4e90ae42ce608c6186bf00b66437.tar.gz
PR bootstrap/48120:
* configure.ac (pwllib): Use LIBS instead of LDFLAGS. Add -lstdc++ -lm to LIBS. * configure: Regenerate.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 5e97d0f6d6..501caf060c 100755
--- a/configure
+++ b/configure
@@ -5725,8 +5725,8 @@ fi
if test "x$with_ppl" != xno; then
if test "x$pwllib" = x; then
- saved_LDFLAGS="$LDFLAGS"
- LDFLAGS="$LDFLAGS $ppllibs"
+ saved_LIBS="$LIBS"
+ LIBS="$LIBS $ppllibs -lstdc++ -lm"
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PWL_handle_timeout in -lpwl" >&5
$as_echo_n "checking for PWL_handle_timeout in -lpwl... " >&6; }
if test "${ac_cv_lib_pwl_PWL_handle_timeout+set}" = set; then :
@@ -5767,7 +5767,7 @@ if test "x$ac_cv_lib_pwl_PWL_handle_timeout" = x""yes; then :
pwllib="-lpwl"
fi
- LDFLAGS="$saved_LDFLAGS"
+ LIBS="$saved_LIBS"
fi
ppllibs="$ppllibs -lppl_c -lppl $pwllib -lgmpxx"