aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2011-03-21 12:26:30 +0000
committerRainer Orth <ro@gcc.gnu.org>2011-03-21 12:26:30 +0000
commit474ee90816f960259d99c5deeeac54a559bd4f34 (patch)
tree5dbbe6e9b187f5d7b351d9c462be4348aaa35075 /configure
parentbf382f5fe4e20e57acee67d703de5a966fef9778 (diff)
downloadgcc-474ee90816f960259d99c5deeeac54a559bd4f34.zip
gcc-474ee90816f960259d99c5deeeac54a559bd4f34.tar.gz
gcc-474ee90816f960259d99c5deeeac54a559bd4f34.tar.bz2
re PR bootstrap/48120 (libpwl test must use g++)
PR bootstrap/48120: * configure.ac (pwllib): Use LIBS instead of LDFLAGS. Add -lstdc++ -lm to LIBS. * configure: Regenerate. From-SVN: r171225
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 32f239e..9725f92 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"