1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- #! /bin/sh
- . test-init.sh
- cat > Makefile.am <<'END'
- check-local:
- test -f oldconf.h
- test -f $(srcdir)/oldconf.in
- END
- cat >> configure.ac <<'END'
- AM_CONFIG_HEADER([oldconf.h:oldconf.in])
- AC_OUTPUT
- END
- $ACLOCAL -Wno-obsolete
- $AUTOCONF -Werror -Wall 2>stderr && { cat stderr >&2; exit 1; }
- cat stderr >&2
- grep "^configure\.ac:4:.*'AM_CONFIG_HEADER'.*obsolete" stderr
- grep "'AC_CONFIG_HEADERS'.* instead" stderr
- $AUTOCONF -Werror -Wall -Wno-obsolete
- $AUTOHEADER
- test -f oldconf.in
- $AUTOMAKE
- ./configure
- $MAKE check-local
- $MAKE distcheck
- :
|