]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix autopoint-3 test failure on many platforms.
authorBruno Haible <bruno@clisp.org>
Sat, 27 Apr 2019 21:52:25 +0000 (23:52 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 28 Apr 2019 08:24:39 +0000 (10:24 +0200)
Reported by Nelson H. F. Beebe.

* gettext-tools/tests/autopoint-3: Create dummy ltmain.sh file before invoking
"automake -a -c".

gettext-tools/tests/autopoint-3

index dc491a8ac8e6cf05db00ebc0bd8d6db17755caa2..e13552b447044e4c71fe1a69d61932bd8008a1be 100755 (executable)
@@ -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; }