changeset 17047:458e7152e580

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>.
author Bruno Haible <bruno@clisp.org>
date Sun, 19 Aug 2012 14:13:11 +0200
parents e23106558036
children 50a1774e83e0
files ChangeLog gnulib-tool
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- a/gnulib-tool
+++ b/gnulib-tool
@@ -3576,9 +3576,11 @@
   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