dnl Process this file with autoconf to produce a configure script. dnl Initialise. This can be passed any old file. AC_INIT(hey_arg.h) AC_CONFIG_HEADER(config.h) dnl Checks for programs. AC_PROG_CC AC_PROG_MAKE_SET dnl Checks for libraries. dnl Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS(utmpx.h) dnl Checks for typedefs, structures, and compiler characteristics. dnl Checks for library functions. AC_TYPE_SIGNAL AC_FUNC_VPRINTF AC_CHECK_FUNCS(strdup,,STRDUP_OBJ=mystrdup.o) AC_CHECK_FUNCS(getutent,,UT_OBJ=utent.o) AC_CHECK_LIB(readline,readline) dnl Make any macro substitutions that we ought to. AC_SUBST(UT_OBJ) AC_OUTPUT(Makefile)