From: Bruno Haible Date: Sat, 29 Sep 2007 23:23:51 +0000 (+0200) Subject: m4 macro indentation. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2403441c0109eb9c0d23887543a854858c8bdd0;p=pspp m4 macro indentation. --- diff --git a/ChangeLog b/ChangeLog index ab9bf86dfe..e17707f4fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-09-29 Bruno Haible + + * gnulib-tool (func_emit_initmacro_done): Indentation. + 2007-09-29 Bruno Haible * README: Add CVS checkout update instructions. diff --git a/gnulib-tool b/gnulib-tool index 593b8f13e4..ce29497f77 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -1938,23 +1938,27 @@ func_emit_initmacro_done () echo echo "# Like AC_LIBOBJ, except that the module name goes" echo "# into ${macro_prefix}_LIBOBJS instead of into LIBOBJS." - echo "AC_DEFUN([${macro_prefix}_LIBOBJ]," - echo " [AS_LITERAL_IF([\$1], [${macro_prefix}_LIBSOURCES([\$1.c])])dnl" - echo " ${macro_prefix}_LIBOBJS=\"\$${macro_prefix}_LIBOBJS \$1.\$ac_objext\"])" + echo "AC_DEFUN([${macro_prefix}_LIBOBJ], [" + echo " AS_LITERAL_IF([\$1], [${macro_prefix}_LIBSOURCES([\$1.c])])dnl" + echo " ${macro_prefix}_LIBOBJS=\"\$${macro_prefix}_LIBOBJS \$1.\$ac_objext\"" + echo "])" echo echo "# Like AC_REPLACE_FUNCS, except that the module name goes" echo "# into ${macro_prefix}_LIBOBJS instead of into LIBOBJS." - echo "AC_DEFUN([${macro_prefix}_REPLACE_FUNCS]," - echo " [m4_foreach_w([gl_NAME], [\$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl" - echo " AC_CHECK_FUNCS([\$1], , [${macro_prefix}_LIBOBJ(\$ac_func)])])" + echo "AC_DEFUN([${macro_prefix}_REPLACE_FUNCS], [" + echo " m4_foreach_w([gl_NAME], [\$1], [AC_LIBSOURCES(gl_NAME[.c])])dnl" + echo " AC_CHECK_FUNCS([\$1], , [${macro_prefix}_LIBOBJ(\$ac_func)])" + echo "])" echo echo "# Like AC_LIBSOURCES, except check for typos now." echo "# We rely on EXTRA_lib..._SOURCES instead." - echo "AC_DEFUN([${macro_prefix}_LIBSOURCES]," - echo " [m4_foreach([_gl_NAME], [\$1]," - echo " [m4_syscmd([test -r $sourcebase/]_gl_NAME[ || test ! -d $sourcebase])dnl" + echo "AC_DEFUN([${macro_prefix}_LIBSOURCES], [" + echo " m4_foreach([_gl_NAME], [\$1], [" + echo " m4_syscmd([test -r $sourcebase/]_gl_NAME[ || test ! -d $sourcebase])dnl" echo " m4_if(m4_sysval, [0], []," - echo " [AC_FATAL([missing $sourcebase/]_gl_NAME)])])])" + echo " [AC_FATAL([missing $sourcebase/]_gl_NAME)])" + echo " ])" + echo "])" } # func_import modules