From: Alexandre Oliva Date: Mon, 4 Sep 2000 08:05:27 +0000 (+0000) Subject: * ltconfig.in (need_lc): Preserve allow_undefined_flag. X-Git-Tag: release-1-3d~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85583b757723540698684c0e20a5f62a68207447;p=thirdparty%2Flibtool.git * ltconfig.in (need_lc): Preserve allow_undefined_flag. --- diff --git a/ChangeLog b/ChangeLog index c0369343a..364a124e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2000-09-04 Alexandre Oliva + * 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. diff --git a/ltconfig.in b/ltconfig.in index e68887708..470f07366 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -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