123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- #! /bin/sh
- . test-init.sh
- echo AC_OUTPUT >>configure.ac
- touch Makefile.am
- $ACLOCAL
- $AUTOCONF
- $AUTOMAKE
- ./configure
- $MAKE
- sed '1,20 s/m4_defn(\[AC_AUTOCONF_VERSION\]),/9999,/' < aclocal.m4 > aclocal.tmp
- cmp aclocal.m4 aclocal.tmp && exit 1
- mv aclocal.tmp aclocal.m4
- run_make -E
- grep 'You have another version of autoconf' stderr
- grep 'aclocal.m4:.*this file was generated for' stderr
- run_make -E
- grep 'You have another version of autoconf' stderr && exit 1
- grep 'aclocal.m4:.*this file was generated for' stderr && exit 1
- :
|