From 0414a24cf57f1569b0b4f2a0f22898a0943dfc14 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 15 May 2017 23:13:57 +0200 Subject: [PATCH] gnulib-tool: Fix generated code when libtests contains module 'alloca'. * gnulib-tool (func_emit_tests_Makefile_am): For libtests.a, use @ALLOCA@, not @LTALLOCA@. --- ChangeLog | 6 ++++++ gnulib-tool | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index f2ab3c5e61..2fa97a2471 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2017-05-15 Bruno Haible + + 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 sys_select: Avoid "was expanded before it was required" warning. diff --git a/gnulib-tool b/gnulib-tool index 5dd77f7f15..f3463b67e8 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -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. -- 2.39.5