OK to apply?
Or would you prefer the slightly stricter '+\{0,1\}'?
Thanks,
Ralf
2008-07-02 Ralf Wildenhues <[EMAIL PROTECTED]>
Recognize 'foo_LIBRARIES += libgnu.a'.
* gnulib-tool (func_emit_lib_Makefile_am): Recognize if a
makefile snippet has already specified an installation location,
also using '+='.
diff --git a/gnulib-tool b/gnulib-tool
index 9798eaa..be20ede 100755
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -1737,7 +1737,7 @@ func_emit_lib_Makefile_am ()
echo "AM_CPPFLAGS ="
fi
echo
- if LC_ALL=C grep "^[a-zA-Z0-9_]*_${perhapsLT}LIBRARIES *=
*$libname\\.$libext\$" allsnippets.tmp > /dev/null; then
+ if LC_ALL=C grep "^[a-zA-Z0-9_]*_${perhapsLT}LIBRARIES *+*=
*$libname\\.$libext\$" allsnippets.tmp > /dev/null; then
# One of the snippets already specifies an installation location for the
# library. Don't confuse automake by saying it should not be installed.
: