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
This commit is contained in:
parent
bf382f5fe4
commit
474ee90816
|
@ -1,3 +1,10 @@
|
||||||
|
2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
||||||
|
|
||||||
|
PR bootstrap/48120:
|
||||||
|
* configure.ac (pwllib): Use LIBS instead of LDFLAGS.
|
||||||
|
Add -lstdc++ -lm to LIBS.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2011-03-18 David Edelsohn <dje.gcc@gmail.com>
|
2011-03-18 David Edelsohn <dje.gcc@gmail.com>
|
||||||
|
|
||||||
* config.guess: Update to version 2011-02-02
|
* config.guess: Update to version 2011-02-02
|
||||||
|
|
|
@ -5725,8 +5725,8 @@ fi
|
||||||
|
|
||||||
if test "x$with_ppl" != xno; then
|
if test "x$with_ppl" != xno; then
|
||||||
if test "x$pwllib" = x; then
|
if test "x$pwllib" = x; then
|
||||||
saved_LDFLAGS="$LDFLAGS"
|
saved_LIBS="$LIBS"
|
||||||
LDFLAGS="$LDFLAGS $ppllibs"
|
LIBS="$LIBS $ppllibs -lstdc++ -lm"
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PWL_handle_timeout in -lpwl" >&5
|
{ $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; }
|
$as_echo_n "checking for PWL_handle_timeout in -lpwl... " >&6; }
|
||||||
if test "${ac_cv_lib_pwl_PWL_handle_timeout+set}" = set; then :
|
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"
|
pwllib="-lpwl"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LDFLAGS="$saved_LDFLAGS"
|
LIBS="$saved_LIBS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ppllibs="$ppllibs -lppl_c -lppl $pwllib -lgmpxx"
|
ppllibs="$ppllibs -lppl_c -lppl $pwllib -lgmpxx"
|
||||||
|
|
|
@ -1677,10 +1677,10 @@ fi
|
||||||
|
|
||||||
if test "x$with_ppl" != xno; then
|
if test "x$with_ppl" != xno; then
|
||||||
if test "x$pwllib" = x; then
|
if test "x$pwllib" = x; then
|
||||||
saved_LDFLAGS="$LDFLAGS"
|
saved_LIBS="$LIBS"
|
||||||
LDFLAGS="$LDFLAGS $ppllibs"
|
LIBS="$LIBS $ppllibs -lstdc++ -lm"
|
||||||
AC_CHECK_LIB(pwl,PWL_handle_timeout,[pwllib="-lpwl"])
|
AC_CHECK_LIB(pwl, PWL_handle_timeout, [pwllib="-lpwl"])
|
||||||
LDFLAGS="$saved_LDFLAGS"
|
LIBS="$saved_LIBS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ppllibs="$ppllibs -lppl_c -lppl $pwllib -lgmpxx"
|
ppllibs="$ppllibs -lppl_c -lppl $pwllib -lgmpxx"
|
||||||
|
|
Loading…
Reference in New Issue