From: Gary V. Vaughan Date: Tue, 30 May 2000 00:31:59 +0000 (+0000) Subject: * ltconfig.in (ORIGINAL_CONFIG_SHELL): Prevent lossage when X-Git-Tag: multi-language-merge-point~203 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcaaa8a03b57abfb36d528834405bd6b20dd402b;p=thirdparty%2Flibtool.git * ltconfig.in (ORIGINAL_CONFIG_SHELL): Prevent lossage when the echo probing code falls into this branch without setting this variable. --- diff --git a/ChangeLog b/ChangeLog index 2c4d66af8..04ff393eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2000-05-30 Gary V. Vaughan + * ltconfig.in (ORIGINAL_CONFIG_SHELL): Prevent lossage when + the echo probing code falls into this branch without setting + this variable. + * ltcf-c.sh (netbsd*): archive_cmds and archive_expsym_cmds were reversed with respect to definition of __ELF__. * ltcf-gcj.sh (netbsd*): ditto. diff --git a/ltconfig.in b/ltconfig.in index 6f9efa351..4a1abe281 100755 --- a/ltconfig.in +++ b/ltconfig.in @@ -150,8 +150,9 @@ else if test "$prev" != 'sed 50q "$0"'; then echo_test_string=`eval $prev` + export echo_test_string - exec "${ORIGINAL_CONFIG_SHELL}" "$0" ${1+"$@"} + exec "${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}}" "$0" ${1+"$@"} else # Oops. We lost completely, so just stick with echo. echo=echo