From: Daiki Ueno Date: Sun, 13 Jul 2014 20:40:18 +0000 (+0900) Subject: tests: Test for AC_CONFIG_AUX_DIR usage in autopoint test X-Git-Tag: v0.19.2~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad9cbe549cc1733aa0471d3ff23e8a5f8fd628fd;p=thirdparty%2Fgettext.git tests: Test for AC_CONFIG_AUX_DIR usage in autopoint test * autopoint-2: Check if build-aux/config.rpath is created if AC_CONFIG_AUX_DIR([build-aux]) is called. --- diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index 86ee15d8a..017ea44d1 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,3 +1,9 @@ +2014-07-14 Daiki Ueno + + tests: Test for AC_CONFIG_AUX_DIR usage in autopoint test + * autopoint-2: Check if build-aux/config.rpath is created if + AC_CONFIG_AUX_DIR([build-aux]) is called. + 2014-07-14 Daiki Ueno tests: Test empty literals in C test diff --git a/gettext-tools/tests/autopoint-2 b/gettext-tools/tests/autopoint-2 index 9d3ea3549..b0dbf2337 100755 --- a/gettext-tools/tests/autopoint-2 +++ b/gettext-tools/tests/autopoint-2 @@ -25,6 +25,7 @@ export gettext_datadir cat <configure.ac AC_INIT AC_CONFIG_SRCDIR(hello.c) +AC_CONFIG_AUX_DIR([build-aux]) AC_PROG_CC AM_GNU_GETTEXT([external]) @@ -40,9 +41,11 @@ $gettext_datadir/autopoint >/dev/null 2>/dev/null || exit 1 test ! -d intl || exit 1 test -d m4 || exit 1 test -d po || exit 1 +test -d build-aux || exit 1 test -f m4/po.m4 || exit 1 test -f po/Makefile.in.in || exit 1 +test -f build-aux/config.rpath || exit 1 rm -fr m4 po