]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (link_static_flag, ac_cv_prog_cc_static): Use the
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Sun, 20 Jun 1999 08:57:30 +0000 (08:57 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sun, 20 Jun 1999 08:57:30 +0000 (08:57 +0000)
latter in the test.

ChangeLog
ltconfig.in

index ab45c62994f1bb10205dc118cdf870bd172a4db2..6241cd1e02e43d6cde4db7664d22969be9b6d996 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-06-20  Alexandre Oliva  <oliva@dcc.unicamp.br>
+
+       * ltconfig.in (link_static_flag, ac_cv_prog_cc_static): Use the
+       latter in the test.
+
 1999-06-18  Thomas Tanner  <tanner@ffii.org>
 
        * ltconfig.in (bsdi4, deplibs_check_method): use a less restrictive
index 8056926a329bf931c48c6a3e0be340432741d036..7d937f2b377850ca18b353f1e59c50285bb848b3 100755 (executable)
@@ -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