1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
dnl Process this file with autoconf to produce a configure script.
AC_INIT(fuzz.c)
AM_INIT_AUTOMAKE(fuzz,0.6)
dnl Checks for programs.
AC_PROG_CC
AC_PROG_AWK
AC_PROG_INSTALL
AC_PROG_LN_S
dnl Checks for libraries.
AC_CHECK_LIB(readline,readline)
dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(fcntl.h unistd.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_SIZE_T
AC_STRUCT_TM
dnl Checks for library functions.
AC_TYPE_SIGNAL
AC_CHECK_FUNCS(getcwd strdup strerror snprintf)
AC_CHECK_FUNC(getopt_long,
AC_MSG_RESULT(using libc's getopt_long),
AC_CHECK_LIB(iberty, getopt_long))
AC_OUTPUT(Makefile)
|