1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- #! /bin/sh
- . test-init.sh
- cat >> configure.ac << \END
- AC_SUBST([FOO], [foo])
- if $create; then
- AC_CONFIG_FILES([file])
- AC_CONFIG_LINKS([link:input])
- AC_CONFIG_COMMANDS([stamp], [echo stamp > stamp])
- fi
- AC_OUTPUT
- END
- : >Makefile.am
- echo link > input
- echo @FOO@ >file.in
- $ACLOCAL
- $AUTOCONF
- $AUTOMAKE
- ./configure create=false
- $MAKE
- test ! -e file
- test ! -e link
- test ! -e stamp
- ./configure create=:
- test -f file
- test -f link
- test -f stamp
|