# -*- 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 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 ## ---------- ## ## AH_DEFUN. ## ## ---------- ## # We check that both the AH_DEFUN given in auxiliary files and in # `configure.in' function properly. AT_SETUP(AH_DEFUN) AT_DATA(configure.in, [[AC_INCLUDE(actest.m4) AH_DEFUN(AC_ANAKIN, [AH_TEMPLATE(Anakin, [The future Darth Vador?])]) AC_INIT AC_TATOOINE AC_ANAKIN AC_CONFIG_HEADERS(config.h:config.hin) AC_OUTPUT ]]) # Checking `autoheader'. AT_CHECK([../autoheader -m .. -l $at_srcdir], 0) AT_CHECK([cat config.hin], 0, [/* config.hin. Generated automatically from configure.in by autoheader. */ /* The future Darth Vador? */ #undef Anakin /* The planet where Luke was raised. */ #undef Tatooine ]) AT_CLEANUP(config.hin) ## ------------ ## ## autoupdate. ## ## ------------ ## # Check that AC_LINK_FILES and AC_OUTPUT are properly updated. # actest.m4 AU_ defines OSBOLETE to UPDATED. AT_SETUP(autoupdate) AT_DATA(configure.in, [[AC_INIT dnl The doc says 27 is a valid fubar. fubar=27 AC_OUTPUT(Makefile, echo $fubar, fubar=$fubar) ]]) # Checking `autoupdate'. AT_CHECK([../autoupdate -m .. -l $at_srcdir -