From: Eric Blake Date: Thu, 10 Jul 2008 21:10:42 +0000 (-0600) Subject: Work with tar's bootstrap. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d3aac76ae55c381dd8d2f8eb478e93084d33dc5;p=pspp 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 --- diff --git a/ChangeLog b/ChangeLog index 32c762ff74..b1dec7170b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-07-10 Eric Blake + + 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 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"