dnl Process this file with autoconf to produce a configure script. dnl Where the sources are AC_INIT(rl.c) dnl This is the only place where the package version appears AM_INIT_AUTOMAKE(rl, 0.1.6) dnl Write a config.h file AM_CONFIG_HEADER(config.h) dnl Checks for programs. AC_PROG_INSTALL AC_PROG_CC dnl Checks for libraries. dnl Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS(getopt.h) dnl Checks for typedefs, structures, and compiler characteristics. dnl Checks for library functions. AC_REPLACE_FUNCS(getopt_long) dnl GCC compiler options AC_C_INLINE if test x$CC = xgcc; then CFLAGS="$CFLAGS -Wall" fi dnl Check for options AC_ARG_ENABLE(debug, [ --enable-debug enable extensive debugging to stderr], CFLAGS="-DDEBUG $CFLAGS") dnl What files to output AC_OUTPUT(Makefile rl.lsm rl.spec)