summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-21 12:26:30 +0000
committerro <ro@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-21 12:26:30 +0000
commit55184b41ccf424f7c275f79463ebcb9fd93f5004 (patch)
tree5dbbe6e9b187f5d7b351d9c462be4348aaa35075 /configure
parentbbb514dcf4bb7d49582abf414ccaffa26d166eae (diff)
downloadgcc-55184b41ccf424f7c275f79463ebcb9fd93f5004.tar.gz
PR bootstrap/48120:
* configure.ac (pwllib): Use LIBS instead of LDFLAGS. Add -lstdc++ -lm to LIBS. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171225 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 32f239ea4ed..9725f92a0df 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"