]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltconfig.in (need_lc): Preserve allow_undefined_flag.
authorAlexandre Oliva <aoliva@redhat.com>
Mon, 4 Sep 2000 08:05:27 +0000 (08:05 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Mon, 4 Sep 2000 08:05:27 +0000 (08:05 +0000)
ChangeLog
ltconfig.in

index c0369343ab3cdb9bad9f890427d23b2cfbd521a6..364a124e095706a4ff9d9193bc4694c81d0a3f93 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2000-09-04  Alexandre Oliva  <aoliva@redhat.com>
 
+       * ltconfig.in (need_lc): Preserve allow_undefined_flag.
+
        * tests/*.test (CONFIG_SITE): Ultrix's /bin/sh fails on
        `. /dev/null'.  Set CONFIG_SITE to /dev/null/config/site, to make
        sure we pick a non-existent file.
index e68887708e1cade8088ef9d20b7b03b2e60d00dc..470f073661bedda6b186a031a3e00549403ecd7a 100755 (executable)
@@ -2062,10 +2062,12 @@ if test "$enable_shared" = yes && test "$with_gcc" = yes; then
        verstring=
        output_objdir=.
        libname=conftest
+       save_allow_undefined_flag=$allow_undefined_flag
        allow_undefined_flag=
        if { (eval echo $progname:@LINENO@: \"$archive_cmds\") 1>&5; (eval $archive_cmds) 2>&1 | grep " -lc " 1>&5 ; }; then
          need_lc=no
        fi
+       allow_undefined_flag=$save_allow_undefined_flag
       else
        cat conftest.err 1>&5
       fi