From: Bruno Haible Date: Sat, 27 Apr 2019 21:52:25 +0000 (+0200) Subject: Fix autopoint-3 test failure on many platforms. X-Git-Tag: v0.20~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0f9cce0f7edbc3f10f5b8494a166b088381ff6d6;p=thirdparty%2Fgettext.git Fix autopoint-3 test failure on many platforms. Reported by Nelson H. F. Beebe. * gettext-tools/tests/autopoint-3: Create dummy ltmain.sh file before invoking "automake -a -c". --- diff --git a/gettext-tools/tests/autopoint-3 b/gettext-tools/tests/autopoint-3 index dc491a8ac..e13552b44 100755 --- a/gettext-tools/tests/autopoint-3 +++ b/gettext-tools/tests/autopoint-3 @@ -114,6 +114,10 @@ test $? = 0 || { cat autopoint.err; Exit 1; } ${AUTOCONF} >/dev/null 2>autopoint.err test $? = 0 || { cat autopoint.err; Exit 1; } +# If ltmain.sh is not present, some installations of Automake fail with an +# error "configure.ac:3: error: required file './ltmain.sh' not found". +touch ltmain.sh + ${AUTOMAKE} -a -c >/dev/null 2>autopoint.err test $? = 0 || { cat autopoint.err; Exit 1; }