From 07ef86f9afb99f92847d3e14a91c078b97707194 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 22 Sep 2001 13:36:32 +0000 Subject: [PATCH] * ltmain.in: Add a space to $base_compile in the case statement, as the case labels checks for trailing spaces, but there aren't necessarily in $base_compile. --- ChangeLog | 6 ++++++ ltmain.in | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index bd36e89be..ef44ff01d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-09-22 Tor Lillqvist + + * ltmain.in: Add a space to $base_compile in the case statement, + as the case labels checks for trailing spaces, but there aren't + necessarily in $base_compile. + 2001-09-22 Albert Chin-A-Young * libtool.m4: When setting archive_cmds for CC, don't diff --git a/ltmain.in b/ltmain.in index 4cfeceba9..ce6d7e274 100644 --- a/ltmain.in +++ b/ltmain.in @@ -496,7 +496,7 @@ if test -z "$show_help"; then # Only attempt this if the compiler in the base compile # command doesn't match the default compiler. if test -n "$available_tags" && test -z "$tagname"; then - case $base_compile in + case "$base_compile " in "$CC "*) ;; # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when ltconfig was run. -- 2.47.2