From: Alexandre Oliva Date: Sun, 20 Jun 1999 08:57:30 +0000 (+0000) Subject: * ltconfig.in (link_static_flag, ac_cv_prog_cc_static): Use the X-Git-Tag: release-1-3b~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=27e8f2a5ea5301dd382a3cdd6ad88c923e1753f6;p=thirdparty%2Flibtool.git * ltconfig.in (link_static_flag, ac_cv_prog_cc_static): Use the latter in the test. --- diff --git a/ChangeLog b/ChangeLog index ab45c6299..6241cd1e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1999-06-20 Alexandre Oliva + + * ltconfig.in (link_static_flag, ac_cv_prog_cc_static): Use the + latter in the test. + 1999-06-18 Thomas Tanner * ltconfig.in (bsdi4, deplibs_check_method): use a less restrictive diff --git a/ltconfig.in b/ltconfig.in index 8056926a3..7d937f2b3 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -1094,14 +1094,14 @@ if test -n "$ac_cv_prog_cc_shlib"; then fi echo $ac_n "checking if $compiler static flag $ac_cv_prog_cc_static works... $ac_c" 1>&6 -echo "$progname:@LINENO@: checking if $compiler static flag $link_static_flag works" >&5 +echo "$progname:@LINENO@: checking if $compiler static flag $ac_cv_prog_cc_static works" >&5 if test "X${ac_cv_prog_cc_static_works+set}" = Xset; then echo $ac_n "(cached) $ac_c" 1>&6 else $rm conftest* echo 'main(){return(0);}' > conftest.c save_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS $link_static_flag" + LDFLAGS="$LDFLAGS $ac_cv_prog_cc_static" if { (eval echo $progname:@LINENO@: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then ac_cv_prog_cc_static_works=yes else