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 85d22a1..f841c62 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 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.
        * gnulib-tool (func_import): Fix indentation.
 
index 85106bf..1768916 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