# -*- autoconf -*- cat </dev/null 2>&1; then # We managed to kill the child, which means that we probably # can't trust `/bin/sh -n', hence the test failed. exit 1 fi ]]) if /bin/sh ./syntax.sh; then # Specify the path to the tool, some shells don't honor PATH # when running `sh PROG'. AT_CHECK([/bin/sh -n ../autoconf], 0) AT_CHECK([/bin/sh -n ../autoreconf], 0) AT_CHECK([/bin/sh -n ../autoupdate], 0) AT_CHECK([/bin/sh -n ../autoreconf], 0) AT_CHECK([/bin/sh -n ../ifnames], 0) fi AT_CLEANUP ## ------------ ## ## autoheader. ## ## ------------ ## # autoheader is intensively used in its modern form throught this # test suite. But we also have to check that acconfig.h still works. AT_SETUP(autoheader) AT_DATA(acconfig.h, [[/* Define this to whatever you want. */ #undef this ]]) # 1. Check that `acconfig.h' is still honored. AT_DATA(configure.in, [[AC_INIT AC_CONFIG_HEADERS(config.h) AC_DEFINE(this, "whatever you want.") ]]) AT_CHECK([autoheader --autoconf-dir .. -expout </dev/null 2>&1; then # Generation of the script. AT_CHECK([AWK='gawk --posix' autoconf --autoconf-dir .. -l $at_srcdir], 0, [], []) # Tracing. AT_CHECK([AWK='gawk --posix' autoconf --autoconf-dir .. -l $at_srcdir -t AC_INIT], 0, ignore, []) fi AT_CLEANUP(configure)