From: Bruno Haible Date: Mon, 15 May 2017 21:13:57 +0000 (+0200) Subject: gnulib-tool: Fix generated code when libtests contains module 'alloca'. X-Git-Tag: v1.0~6146 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=0414a24cf57f1569b0b4f2a0f22898a0943dfc14;p=gnulib.git gnulib-tool: Fix generated code when libtests contains module 'alloca'. * gnulib-tool (func_emit_tests_Makefile_am): For libtests.a, use @ALLOCA@, not @LTALLOCA@. --- 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.