* gnulib-tool (func_import): Allow newlines when reading cached
gl_MODULES, and generate newlines when outputting gnulib-cache.m4.
Signed-off-by: Eric Blake <ebb9@byu.net>
+2008-06-23 Eric Blake <ebb9@byu.net>
+
+ Make gnulib-cache.m4 easier to diff.
+ * gnulib-tool (func_import): Allow newlines when reading cached
+ gl_MODULES, and generate newlines when creating gnulib-cache.m4.
+
2008-06-23 Bruno Haible <bruno@clisp.org>
* m4/signalblocking.m4 (gl_PREREQ_SIG_HANDLER_H): Remove macro.
s,^.*gl_LOCAL_DIR([[ ]*\([^])]*\).*$,cached_local_gnulib_dir="\1",p
}
/gl_MODULES(/ {
+ :a
+ s/)/)/
+ tb
+ N
+ ba
+ :b
s,^.*gl_MODULES([[ ]*\([^])]*\).*$,cached_specified_modules="\1",p
}
/gl_AVOID(/ {
esac ;;
esac
echo "gl_LOCAL_DIR([$relative_local_gnulib_dir])"
- echo "gl_MODULES(["`echo $specified_modules`"])"
+ echo "gl_MODULES(["
+ echo "$specified_modules" | sed 's/^/ /g'
+ echo "])"
echo "gl_AVOID([$avoidlist])"
echo "gl_SOURCE_BASE([$sourcebase])"
echo "gl_M4_BASE([$m4base])"