libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

silence m4 --warn-syntax warning


From: Eric Blake
Subject: silence m4 --warn-syntax warning
Date: Mon, 29 Jan 2007 06:53:38 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Using /usr/local/bin/m4 as a wrapper around CVS branch-1_4 of M4 (ie. the
eventual M4 1.4.9), I got this false positive:

/home/eblake/m4/build/src/m4:ltdl/m4/libtool.m4:916: Warning: semantics of
`${1...}' in defn of `_LT_PROG_ECHO_BACKSLASH' will change
autom4te: /usr/local/bin/m4 failed with exit status: 1

OK to apply this patch?

2007-01-29  Eric Blake  <address@hidden>

        * libltdl/m4/libtool.m4 (_LT_PROG_ECHO_BACKSLASH): Avoid issues
        with m4-1.4.9 --warn-syntax.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFvfxi84KuGfSFAYARAitNAJ44CCVgy8Kg4wWlwNYaWIG1iJrdpACeJa8p
FVT7bjrcviMFBI6iXzaMNlA=
=H6eL
-----END PGP SIGNATURE-----
Index: libltdl/m4/libtool.m4
===================================================================
RCS file: /sources/libtool/libtool/libltdl/m4/libtool.m4,v
retrieving revision 1.88
diff -u -p -r1.88 libtool.m4
--- libltdl/m4/libtool.m4       28 Jan 2007 13:03:47 -0000      1.88
+++ libltdl/m4/libtool.m4       29 Jan 2007 13:51:19 -0000
@@ -937,7 +937,7 @@ elif test "X`{ $ECHO '\t'; } 2>/dev/null
   :
 else
   # Restart under the correct shell.
-  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
+  exec $SHELL "[$]0" --no-reexec [$]{1+"[$]@"}
 fi
 
 if test "X[$]1" = X--fallback-echo; then
@@ -2129,7 +2129,7 @@ darwin* | rhapsody*)
   shlibpath_var=DYLD_LIBRARY_PATH
   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 m4_if([$1], [],[
-  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) 
+  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   ;;
 
@@ -2310,7 +2310,7 @@ linux* | k*bsd*-gnu)
   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   shlibpath_var=LD_LIBRARY_PATH
   shlibpath_overrides_runpath=no
-  # Some binutils ld are patched to set DT_RUNPATH 
+  # Some binutils ld are patched to set DT_RUNPATH
   save_LDFLAGS=$LDFLAGS
   save_libdir=$libdir
   eval libdir=/foo wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) \

reply via email to

[Prev in Thread] Current Thread [Next in Thread]