]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside `"'...'"`.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 7 Jan 2004 23:59:15 +0000 (23:59 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 7 Jan 2004 23:59:15 +0000 (23:59 +0000)
ChangeLog
lib/autoconf/general.m4

index 404b305e8c60ddf8f66f115e47cc7b5706aa95b9..0aa1bb0c8aabf8e7e8edb33e654a3f04eac19ad8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-01-07  Paul Eggert  <eggert@twinsun.com>
+
+       * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside
+       `"'...'"`, as it's confusing (and I suspect it may not work on
+       some platforms).  The code was incorrect anyway, as it assumed
+       that \$ evaluated to itself in that context.  Reported by
+       Alexandre Duret-Lutz.
+
 2004-01-07  Alexandre Duret-Lutz  <adl@gnu.org>
 
        * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS
@@ -12,7 +20,7 @@
 
        * doc/autoconf.texi (Limitations of Usual Tools):
        Remove warning against "rm -fr" introduced yesterday; it
-       seems to have been a false alarm.
+       was a false alarm.
 
        * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf,
        autoscan, autoupdate, ifnames): Don't use chmod -w.
index 77096c790e8e577931cb2746a7180d30565f1889..e78cb5ddfe1f31a70559073a7a5ed3e7ac4b1c7f 100644 (file)
@@ -2445,8 +2445,8 @@ AC_DEFUN([_AC_LIBOBJS_NORMALIZE],
 ac_ltlibobjs=
 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
   # 1. Remove the extension, and $U if already installed.
-  ac_i=`echo "$ac_i" |
-        sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
+  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
+  ac_i=`echo "$ac_i" | sed "$ac_script"`
   # 2. Add them.
   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'