Mercurial > hg > octave-lyh > gnulib-hg
changeset 10255:a945eb5a83fe
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 '+='.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
author | Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
---|---|
date | Thu, 03 Jul 2008 20:17:33 +0200 |
parents | 309ad548f542 |
children | af15fcca9925 |
files | ChangeLog gnulib-tool |
diffstat | 2 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-07-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> + + 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 '+='. + 2008-07-02 Ondřej Vašík <ovasik@redhat.com> getdate.y: factor out common actions
--- a/gnulib-tool +++ b/gnulib-tool @@ -1737,7 +1737,7 @@ 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 *+\{0,1\}= *$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. :