dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.5) AC_INIT(calc.c) AC_CONFIG_HEADER(calc.h) CC=${CC-cc} # # Look for various header files # AC_HEADER_CHECK(stdlib.h, ,AC_DEFINE(HAVE_STDLIB_H)) # # Look for various functions # AC_FUNC_CHECK(strcmp, AC_DEFINE(HAVE_STRCMP)) # # Output Makefile with substitutions AC_SUBST(CC) AC_OUTPUT(Makefile)