12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- #! /bin/sh
- . test-init.sh
- AUTOMAKE=$am_original_AUTOMAKE
- 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])
- AC_OUTPUT
- END
- cat > Makefile.am <<END
- include automake-options.am
- FOO := bar
- END
- rm -rf autom4te*.cache
- : > automake-options.am
- echo 'AM_INIT_AUTOMAKE' > am-init-automake.m4
- $ACLOCAL
- AUTOMAKE_fails -Werror -Wall --foreign
- grep '^Makefile\.am:.*:=.*not portable' stderr
- rm -rf autom4te*.cache
- : > automake-options.am
- echo 'AM_INIT_AUTOMAKE([-Werror -Wnone gnu])' > am-init-automake.m4
- $ACLOCAL
- $AUTOMAKE
- rm -rf autom4te*.cache
- echo 'AUTOMAKE_OPTIONS = -Werror -Wnone gnits' > automake-options.am
- echo 'AM_INIT_AUTOMAKE' > am-init-automake.m4
- $ACLOCAL
- $AUTOMAKE
- :
|