diff options
author | Eric Blake <ebb9@byu.net> | 2008-07-10 15:10:42 -0600 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2008-07-10 15:10:42 -0600 |
commit | 9d3aac76ae55c381dd8d2f8eb478e93084d33dc5 (patch) | |
tree | f9f9ae43898a9cb8380f59e824a64485287b646a | |
parent | 7a6db3dccd370c0f159669cf66b4e503d1bb8886 (diff) | |
download | gnulib-9d3aac76ae55c381dd8d2f8eb478e93084d33dc5.tar.gz |
Work with tar's bootstrap.
* gnulib-tool (func_emit_initmacro_end): Use m4_defn in the case
where LIBSOURCES_DIR contains .#bootmp but must not be treated as
an m4 comment.
Signed-off-by: Eric Blake <ebb9@byu.net>
-rw-r--r-- | ChangeLog | 7 | ||||
-rwxr-xr-x | gnulib-tool | 6 |
2 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,10 @@ +2008-07-10 Eric Blake <ebb9@byu.net> + + Work with tar's bootstrap. + * gnulib-tool (func_emit_initmacro_end): Use m4_defn in the case + where LIBSOURCES_DIR contains .#bootmp but must not be treated as + an m4 comment. + 2008-07-09 Jim Meyering <meyering@redhat.com> posix-shell.m4: fix typo that made this test malfunction diff --git a/gnulib-tool b/gnulib-tool index 1c45002860..7dd2063a4e 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -2068,10 +2068,10 @@ func_emit_initmacro_end () # the configure.ac resides; if it is run from a different directory, the # check is skipped. echo " m4_ifval(${macro_prefix_arg}_LIBSOURCES_LIST, [" - echo " m4_syscmd([test ! -d ]${macro_prefix_arg}_LIBSOURCES_DIR[ ||" + echo " m4_syscmd([test ! -d ]m4_defn([${macro_prefix_arg}_LIBSOURCES_DIR])[ ||" echo " for gl_file in ]${macro_prefix_arg}_LIBSOURCES_LIST[ ; do" - echo " if test ! -r ]${macro_prefix_arg}_LIBSOURCES_DIR[/\$gl_file ; then" - echo " echo \"missing file ]${macro_prefix_arg}_LIBSOURCES_DIR[/\$gl_file\" >&2" + echo " if test ! -r ]m4_defn([${macro_prefix_arg}_LIBSOURCES_DIR])[/\$gl_file ; then" + echo " echo \"missing file ]m4_defn([${macro_prefix_arg}_LIBSOURCES_DIR])[/\$gl_file\" >&2" echo " exit 1" echo " fi" echo " done])dnl" |