From fcaaa8a03b57abfb36d528834405bd6b20dd402b Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Tue, 30 May 2000 00:31:59 +0000 Subject: [PATCH] * ltconfig.in (ORIGINAL_CONFIG_SHELL): Prevent lossage when the echo probing code falls into this branch without setting this variable. --- ChangeLog | 4 ++++ ltconfig.in | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.47.3