]> Savannah Git Hosting - gnulib.git/commitdiff
gnulib-tool: Fix generated code when libtests contains module 'alloca'.
authorBruno Haible <bruno@clisp.org>
Mon, 15 May 2017 21:13:57 +0000 (23:13 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 15 May 2017 21:13:57 +0000 (23:13 +0200)
* gnulib-tool (func_emit_tests_Makefile_am): For libtests.a, use
@ALLOCA@, not @LTALLOCA@.

ChangeLog
gnulib-tool

index f2ab3c5e6133504c9cf20f4ec357cdf4634a18ee..2fa97a247117e30431d6499e6bb4f675cc4f26c7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-05-15  Bruno Haible  <bruno@clisp.org>
+
+       gnulib-tool: Fix generated code when libtests contains module 'alloca'.
+       * gnulib-tool (func_emit_tests_Makefile_am): For libtests.a, use
+       @ALLOCA@, not @LTALLOCA@.
+
 2017-05-15  Bruno Haible  <bruno@clisp.org>
 
        sys_select: Avoid "was expanded before it was required" warning.
index 5dd77f7f155e13554f3a967493ba2279944dce5d..f3463b67e8da765673c6c06794dc56d879d195e5 100755 (executable)
@@ -3828,8 +3828,8 @@ func_emit_tests_Makefile_am ()
                 -e "$sed_transform_check_PROGRAMS" \
                 -e "$sed_replace_include_guard_prefix"
           if $use_libtests && test "$module" = 'alloca'; then
-            echo "libtests_a_LIBADD += @${perhapsLT}ALLOCA@"
-            echo "libtests_a_DEPENDENCIES += @${perhapsLT}ALLOCA@"
+            echo "libtests_a_LIBADD += @ALLOCA@"
+            echo "libtests_a_DEPENDENCIES += @ALLOCA@"
           fi
         } > "$tmp"/amsnippet
         # Skip the contents if it's entirely empty.