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
commitc0a66ca59735fa09eedf21a7a777272dfcda5883 (patch)
treec4babf9e729531a9d496493bbb3bb3fb5dbde5a1 /configure
parent011ec629157acbf6ca7613ad4eea583234e7786d (diff)
downloadgdb-c0a66ca59735fa09eedf21a7a777272dfcda5883.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"