123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- #! /bin/sh
- . test-init.sh
- plan_ 4
- cat >configure.ac <<END
- AC_INIT([$me], [1.0])
- AC_CONFIG_AUX_DIR([aux])
- AM_INIT_AUTOMAKE
- AC_CONFIG_FILES([Makefile])
- END
- : > Makefile.am
- am_warn_unportable_auxdir ()
- {
- details=$1
- AUTOMAKE_fails
- command_ok_ \
- "warn about $details unportable auxdir name" \
- grep '^configure\.ac:2:.*aux.*W32' stderr
- }
- $ACLOCAL || fatal_ "aclocal failed"
- am_warn_unportable_auxdir "non-existent"
- if mkdir aux; then
- am_warn_unportable_auxdir "existent"
- else
- skip_row_ 2 -r "cannot create directory named 'aux'"
- fi
- :
|