# HG changeset patch # User Bruno Haible # Date 1270219872 -7200 # Node ID 6d950d2ec11e8d33128eb99dec8cc58bf5d601a1 # Parent 3f4bdc04f3f19eb0095189aa442d0e7bbe8427d8 gnulib-tool: Provide the value of --m4-base to modules. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-04-02 Bruno Haible + + gnulib-tool: Provide the value of --m4-base to modules. + * gnulib-tool (func_import, func_create_testdir): Emit a definition + of gl_m4_base. + 2010-04-02 Eric Blake maint.mk: fix some fallout diff --git a/gnulib-tool b/gnulib-tool --- a/gnulib-tool +++ b/gnulib-tool @@ -4328,6 +4328,7 @@ else sed_replace_build_aux="$sed_noop" fi + echo " gl_m4_base='$m4base'" func_emit_initmacro_start $macro_prefix echo " gl_source_base='$sourcebase'" for module in $main_modules; do @@ -4903,6 +4904,7 @@ s|AC_CONFIG_FILES(\(.*\):build-aux/\(.*\))|AC_CONFIG_FILES(\1:'"$auxdir"'/\2)| ba }' + echo "gl_m4_base='../$m4base'" func_emit_initmacro_start $macro_prefix # We don't have explicit ordering constraints between the various # autoconf snippets. It's cleanest to put those of the library before @@ -5032,6 +5034,7 @@ else sed_replace_build_aux="$sed_noop" fi + echo "gl_m4_base='$m4base'" func_emit_initmacro_start $macro_prefix echo "gl_source_base='$sourcebase'" for module in $modules; do