123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- #! /bin/sh
- required=GNUmake
- . test-init.sh
- cat > configure.ac << END
- AC_INIT([$me], [1.0])
- AM_INIT_AUTOMAKE
- AC_CONFIG_FILES([./Makefile])
- AC_CONFIG_FILES([./foo:a.in:b.in:c.in])
- AC_OUTPUT
- END
- touch a.in b.in c.in Makefile.am
- $ACLOCAL
- AUTOMAKE_fails -Wnone -Wunsupported
- grep "^configure\.ac:3:.*'\\./Makefile'" stderr
- grep "^configure\.ac:3:.* omit leading '\\./'" stderr
- grep "^configure\.ac:3:.*remake rules might be subtly broken" stderr
- grep "^configure\.ac:4:.*'\\./foo'" stderr
- grep "^configure\.ac:4:.* omit leading '\\./'" stderr
- grep "^configure\.ac:4:.*remake rules might be subtly broken" stderr
- sed 's/^AM_INIT_AUTOMAKE/&([-Wall -Wno-unsupported])/' <configure.ac >t
- mv -f t configure.ac
- rm -rf autom4te*.cache
- $ACLOCAL
- $AUTOCONF
- $AUTOMAKE -Wall -Wno-unsupported
- ./configure
- $MAKE
- $sleep
- touch Makefile.am
- run_make -e FAIL -E
- grep "config\\.status:.*invalid argument.*Makefile" stderr
- :
|