summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2011-03-21 13:03:34 +0000
committerRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2011-03-21 13:03:34 +0000
commit0e8ad34f4dcf33bfc81bd85a8190756691aed9bc (patch)
treed8edde47ec9b1c9d0894163ec792b81e0a78e8bf /configure
parent629bdbdaf47e37e27ae2206a5c0ff6771254b550 (diff)
downloadbinutils-gdb-0e8ad34f4dcf33bfc81bd85a8190756691aed9bc.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 5e97d0f6d61..501caf060cf 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"