+2014-10-10 Daiki Ueno <ueno@gnu.org>
+
+ tests: Add test for Debian bug#764580
+ * autopoint-2: Check if m4_assert is properly redefined while
+ tracing.
+
2014-10-08 Daiki Ueno <ueno@gnu.org>
tests: Improve test coverage of C and Vala scanners
test -f po/Makefile.in.in || exit 1
rm -fr m4 po
+
+# Check for certain built-in macros are not in effect when tracing:
+# <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764580>
+cat <<EOF >configure.ac
+AC_INIT
+AC_CONFIG_SRCDIR(hello.c)
+
+dnl m4_shiftn internally calls m4_assert, which is disabled by autopoint
+m4_define([_gt_recurse],
+[m4_ifblank([\$1], , [_gt_recurse(m4_shiftn(1, \$@))])])
+_gt_recurse([a], [b], , [c])
+
+AC_PROG_CC
+AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION([$required_gettext_version])
+
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([po/Makefile.in])
+AC_OUTPUT
+EOF
+
+$gettext_datadir/autopoint >/dev/null 2>autopoint.err
+test $? = 0 || { cat autopoint.err; exit 1; }
+
+test ! -d intl || exit 1
+test -d m4 || exit 1
+test -d po || exit 1
+
+test -f m4/po.m4 || exit 1
+test -f po/Makefile.in.in || exit 1
+
+rm -fr m4 po