]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in: Add a space to $base_compile in the case statement,
authorTor Lillqvist <tml@iki.fi>
Sat, 22 Sep 2001 13:36:32 +0000 (13:36 +0000)
committerGary V. Vaughan <gary@gnu.org>
Sat, 22 Sep 2001 13:36:32 +0000 (13:36 +0000)
as the case labels checks for trailing spaces, but there aren't
necessarily in $base_compile.

ChangeLog
ltmain.in

index bd36e89be5494111d036ec56a09cc84cb275cbfa..ef44ff01d834c5c539fa778564a03cacd8322052 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-09-22  Tor Lillqvist  <tml@iki.fi>
+
+       * 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  <china@thewrittenword.com>
 
        * libtool.m4: When setting archive_cmds for CC, don't
index 4cfeceba99616af5b7da937e1f9bff39f4d92432..ce6d7e27487bb3c2647e9b6b5b55ebc8f2e25f35 100644 (file)
--- 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.