diff options
Diffstat (limited to 't/warning-groups-win-over-strictness.sh')
-rw-r--r-- | t/warning-groups-win-over-strictness.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/t/warning-groups-win-over-strictness.sh b/t/warning-groups-win-over-strictness.sh index c483f638b..7fb0f8dd6 100644 --- a/t/warning-groups-win-over-strictness.sh +++ b/t/warning-groups-win-over-strictness.sh @@ -30,8 +30,8 @@ touch README INSTALL NEWS AUTHORS ChangeLog COPYING THANKS cat > configure.ac << END AC_INIT([$me], [1.0]) m4_include([am-init-automake.m4]) -AC_PROG_CC AC_CONFIG_FILES([Makefile]) +AM_CONDITIONAL([NEVERTRUE], [false)] # Other similar tests do not use AC_OUTPUT, so we use it here, # for completeness and for better coverage. AC_OUTPUT @@ -39,7 +39,9 @@ END cat > Makefile.am <<END include automake-options.am -FOO := bar +if NEVERTRUE +AUTOMAKE_OPTIONS = no-dependencies +endif END rm -rf autom4te*.cache @@ -47,7 +49,7 @@ rm -rf autom4te*.cache echo 'AM_INIT_AUTOMAKE' > am-init-automake.m4 $ACLOCAL AUTOMAKE_fails -Werror -Wall --foreign -grep '^Makefile\.am:.*:=.*not portable' stderr +grep "^Makefile\\.am:3:.*AUTOMAKE_OPTIONS.*conditional" stderr rm -rf autom4te*.cache : > automake-options.am |