]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 Mar 2005 19:41:13 +0000 (19:41 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 23 Mar 2005 19:41:13 +0000 (19:41 +0000)
Merge `-z option' as well for the benefit of Solaris link flags.

ChangeLog
lib/autoconf/fortran.m4

index a1b7ecc88dcb06e9758f31517bcaa26cc9605553..b863b1a0ca728331f1185b702226b81cf19e533b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2005-03-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS):
+       Merge `-z option' as well for the benefit of Solaris link flags.  Pass
+       whole-archive (-zallextract, -zdefaultextract) options in the hope of
+       unique libraries, for the Sun Fortran 95 8.0 compiler.  Bug reported
+       against Libtool by Yury Puhalsky <pooh@cryptopro.ru>.
+
 2005-03-22  Paul Eggert  <eggert@cs.ucla.edu>
 
        * NEWS: The configure command now warns you if you attempt to use
index d5149bbfe6d54beb5f71c647c4715790801b0fba..2bbaa45784fcfe8adbafdc0bb7746ddd33214a47 100644 (file)
@@ -660,7 +660,7 @@ while test $[@%:@] != 1; do
         -lkernel32)
           test x"$CYGWIN" != xyes && ac_cv_[]_AC_LANG_ABBREV[]_libs="$ac_cv_[]_AC_LANG_ABBREV[]_libs $ac_arg"
           ;;
-        -[[LRuY]])
+        -[[LRuYz]])
           # These flags, when seen by themselves, take an argument.
           # We remove the space between option and argument and re-iterate
           # unless we find an empty arg or a new option (starting with -)
@@ -684,6 +684,9 @@ while test $[@%:@] != 1; do
           _AC_LIST_MEMBER_IF($ac_arg, $ac_cv_[]_AC_LANG_ABBREV[]_libs, ,
                              ac_cv_[]_AC_LANG_ABBREV[]_libs="$ac_cv_[]_AC_LANG_ABBREV[]_libs $ac_arg")
           ;;
+       -zallextract*| -zdefaultextract)
+         ac_cv_[]_AC_LANG_ABBREV[]_libs="$ac_cv_[]_AC_LANG_ABBREV[]_libs $ac_arg"
+         ;;
           # Ignore everything else.
   esac
 done