# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. # Thanks to and contributed by my brother at itap.purdue.edu. # $Id: configure.ac,v 1.2 2009/01/13 22:15:43 ksb Exp $ # $Compile: ${autoreconf:-autoreconf} %f && rm -rf autom4te.cache AC_PREREQ(2.61) AC_INIT(daemon, 1.0.0, rm4-spam-ksb@ksb.npcguild.org) AC_CONFIG_SRCDIR([daemon.m]) AC_CONFIG_HEADER([config.h]) # Checks for header files. AC_HEADER_STDC AC_HEADER_SYS_WAIT AC_CHECK_HEADERS([unistd.h errno.h string.h pwd.h grp.h fcntl.h sys/stat.h sys/param.h sys/types.h]) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_TYPE_OFF_T AC_TYPE_PID_T AC_TYPE_SIZE_T # Checks for library functions. AC_FUNC_FORK AC_FUNC_STAT AC_CHECK_FUNCS([ftruncate snprintf strerror flock fcntl lockf setsid]) # just the header file, thanks. AC_OUTPUT()