]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
*** empty log message ***
authorGordon Matzigkeit <gord@gnu.org>
Mon, 1 Dec 1997 07:59:19 +0000 (07:59 +0000)
committerGordon Matzigkeit <gord@gnu.org>
Mon, 1 Dec 1997 07:59:19 +0000 (07:59 +0000)
ChangeLog
Makefile.am
NEWS
ltconfig.in

index f5ffc3a54b211c5a69efff49bf8d9cf36497f98c..68cfbb7d580ea29a4f2a3332dc7ac51a09a5b782 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Dec  1 00:50:37 1997  Gordon Matzigkeit  <gord@gnu.org>
+
+       * ltconfig.in (ltecho): We need special handling to quote the
+       `echo' variable itself.  From Alexandre Oliva.
+
 Sat Nov 29 11:19:18 1997  Gordon Matzigkeit  <gord@gnu.org>
 
        * ltconfig.in (COLLECT_NAMES): Enable this workaround for a broken
index ed1937d82b96f54cad743a7e6615fa5c8fdd31f0..e9e8fcb2cf0a5ef1a7b16289aaa289e8bd5a9dcb 100644 (file)
@@ -103,7 +103,7 @@ PRCS = prcs
 
 .PHONY: maintainer-checkin maintainer-check-versions maintainer-release
 maintainer-checkin:
-       cd $(top_srcdir) && $(PRCS) checkin $(PACKAGE)
+       cd $(top_srcdir) && $(PRCS) checkin -f $(PACKAGE)
 
 maintainer-check-versions:
        @newver=`grep '^(Project-Version[       ]' $(srcdir)/$(PACKAGE).prj | \
diff --git a/NEWS b/NEWS
index a9e528440904a042ea56d81f16091fb2157475d0..53537d91fd499fa6c1440c88a53e416047300a1b 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,9 @@
 NEWS - list of user-visible changes between releases of GNU Libtool
 
+New in 1.0h - 1997-12-01, Gordon Matzigkeit:
+* A fix for an insidious bug in the quoting code, which broke
+  everything on almost all platforms.
+
 New in 1.0g - 1997-11-29, Gordon Matzigkeit:
 * Bug fixes.
 * `-allow-undefined' is now the default.  You can use `-no-undefined'
index ab2696b56619741f5182b9c83c09ad048da37c74..9705defa8299bfb1625db6b9b2f72eefbe5d0b96 100755 (executable)
@@ -33,7 +33,7 @@ else
   # This makes it impossible to quote backslashes using
   #   echo "$something" | sed 's/\\/\\\\/g'
   # So, we emulate echo with printf '%s\n'
-  echo='printf %s\n'
+  echo="printf %s\\n"
   if test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then :
   else
     # Oops.  We have no working printf.  Try to find a not-so-buggy echo.
@@ -1260,8 +1260,12 @@ fi
 rmdir .libs 2>/dev/null
 echo "$ac_t$objdir" 1>&6
 
+# Copy echo and quote the copy, instead of the original, because it is
+# used later.
+ltecho="$echo"
+
 # Now quote all the things that may contain metacharacters.
-for var in echo old_CC old_CFLAGS old_CPPFLAGS old_LD old_NM old_RANLIB \
+for var in ltecho old_CC old_CFLAGS old_CPPFLAGS old_LD old_NM old_RANLIB \
   old_LN_S AR CC LD LN_S NM reload_flag reload_cmds wl pic_flag \
   link_static_flag no_builtin_flag export_dynamic_flag_spec \
   profile_flag_pattern libname_spec library_names_spec soname_spec RANLIB \
@@ -1276,10 +1280,10 @@ for var in echo old_CC old_CFLAGS old_CPPFLAGS old_LD old_NM old_RANLIB \
   old_postinstall_cmds | old_postuninstall_cmds | archive_cmds | \
   postinstall_cmds | postuninstall_cmds | finish_cmds)
     # Double-quote double-evaled strings.
-    eval "$var=\`$echo \"\$$var\" | sed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\"\`"
+    eval "$var=\`\$echo \"\$$var\" | sed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\"\`"
     ;;
   *)
-    eval "$var=\`$echo \"\$$var\" | sed \"\$sed_quote_subst\"\`"
+    eval "$var=\`\$echo \"\$$var\" | sed \"\$sed_quote_subst\"\`"
     ;;
   esac
 done
@@ -1305,7 +1309,7 @@ cat <<EOF > $ofile
 # debugging $progname, is in ./config.log if it exists.
 
 # An echo program that doesn't interpret backslashes.
-echo="$echo"
+echo="$ltecho"
 
 # The version of $progname that generated this script.
 LTCONFIG_VERSION="$VERSION"