# HG changeset patch # User Bruno Haible # Date 1344986968 -7200 # Node ID 61736e6c8fbe3a2e9955ad9fea68ec9d4d50d697 # Parent 01ed4bc06f283c281514fcb459369c279e4a51db gnulib-tool: Fix indentation of generated gnulib-comp.m4 file. * gnulib-tool (func_emit_autoconf_snippet): Initialize indentation from argument. Reported and fix suggested by Dmitriy Selyutin . diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-08-14 Bruno Haible + + gnulib-tool: Fix indentation of generated gnulib-comp.m4 file. + * gnulib-tool (func_emit_autoconf_snippet): Initialize indentation + from argument. + Reported and fix suggested by Dmitriy Selyutin . + 2012-08-14 Eric Blake ldexp: relax license diff --git a/gnulib-tool b/gnulib-tool --- a/gnulib-tool +++ b/gnulib-tool @@ -3892,6 +3892,7 @@ # func_emit_autoconf_snippet indentation # emits the autoconf snippet of a module. # Input: +# - indentation spaces to prepend on each line # - local_gnulib_dir from --local-dir # - modcache true or false, from --cache-modules/--no-cache-modules # - sed_replace_build_aux sed expression that replaces reference to build-aux @@ -3905,9 +3906,9 @@ # command line options. # - disable_gettext true or false. It tells whether to disable AM_GNU_GETTEXT # invocations. -# - indentation spaces to prepend on each line func_emit_autoconf_snippet () { + indentation="$1" if { case $module in gnumakefile | maintainer-makefile) # These modules are meant to be used only in the top-level directory.