bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Recognize 'foo_LIBRARIES += libgnu.a'.


From: Ralf Wildenhues
Subject: Recognize 'foo_LIBRARIES += libgnu.a'.
Date: Wed, 2 Jul 2008 21:31:54 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

OK to apply?
Or would you prefer the slightly stricter '+\{0,1\}'?

Thanks,
Ralf

2008-07-02  Ralf Wildenhues  <address@hidden>

        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.
     :




reply via email to

[Prev in Thread] Current Thread [Next in Thread]