]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool: Improve coding style.
authorBruno Haible <bruno@clisp.org>
Sun, 19 Aug 2012 12:13:11 +0000 (14:13 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 19 Aug 2012 12:13:11 +0000 (14:13 +0200)
* gnulib-tool (func_emit_tests_Makefile_am): Set perhapsLT, like in
func_emit_lib_Makefile_am.
Reported and fix suggested by Dmitriy Selyutin <ghostman.sd@gmail.com>.

ChangeLog
gnulib-tool

index 85d22a1e2877f8db26e1ffee021de8ff582812b2..f841c6279a781160886b1abb2eab7457e0bc772e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-08-19  Bruno Haible  <bruno@clisp.org>
+
+       gnulib-tool: Improve coding style.
+       * gnulib-tool (func_emit_tests_Makefile_am): Set perhapsLT, like in
+       func_emit_lib_Makefile_am.
+       Reported and fix suggested by Dmitriy Selyutin <ghostman.sd@gmail.com>.
+
 2012-08-19  Bruno Haible  <bruno@clisp.org>
 
        gnulib-tool: Fix indentation.
index 85106bfb1fb4385c72d94d2017aa85a6e04543ab..1768916e10193ba370c50b57918dbc3e0cea5513 100755 (executable)
@@ -3576,9 +3576,11 @@ func_emit_tests_Makefile_am ()
   witness_macro="$1"
   if test "$libtool" = true; then
     libext=la
+    perhapsLT=LT
     sed_eliminate_LDFLAGS="$sed_noop"
   else
     libext=a
+    perhapsLT=
     sed_eliminate_LDFLAGS='/^lib_LDFLAGS[       ]*+=/d'
   fi
   if $for_test; then