+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
.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 | \
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'
# 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.
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 \
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
# 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"