123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #! /bin/sh
- . test-init.sh
- echo AM_PROG_MKDIR_P >> configure.ac
- : > Makefile.am
- grep_err ()
- {
- loc='^configure.ac:4:'
- grep "$loc.*AM_PROG_MKDIR_P.*deprecated" stderr
- grep "$loc.* use .*AC_PROG_MKDIR_P" stderr
- grep "$loc.* use '\$(MKDIR_P)' instead of '\$(mkdir_p)'.*Makefile" stderr
- }
- $ACLOCAL
- $AUTOCONF -Werror -Wobsolete 2>stderr && { cat stderr >&2; exit 1; }
- cat stderr >&2
- grep_err
- $AUTOCONF -Werror -Wno-obsolete
- AUTOMAKE_fails --verbose -Wnone -Wobsolete
- grep_err
- $AUTOMAKE -Wno-obsolete
- :
|