X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=daemon.git;a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=a48bcd150f932f3cf18d65c9b84940f230e70665;hp=0000000000000000000000000000000000000000;hb=7162d53967117a8eda4257244327d63f95633783;hpb=0aa9138f10ceb0258291ce0945e207393c2fe4cc diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..a48bcd1 --- /dev/null +++ b/configure.ac @@ -0,0 +1,34 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +AC_PREREQ([2.63]) +AC_INIT([daemon], [1.8], [pho@cielonegro.org]) + +AM_INIT_AUTOMAKE +AC_CONFIG_SRCDIR([daemon.c]) +AC_CONFIG_HEADERS([config.h]) + +# Checks for programs. +AC_PROG_CC + +# Checks for libraries. + +# Checks for header files. +AC_CHECK_HEADERS([stdlib.h sys/param.h unistd.h]) +AC_CHECK_HEADERS([fcntl.h]) +AC_CHECK_HEADERS([sys/file.h]) + +# Checks for typedefs, structures, and compiler characteristics. +AC_TYPE_PID_T +AC_TYPE_MODE_T +AC_TYPE_SSIZE_T + +# Checks for library functions. +AC_CHECK_FUNCS([ftruncate]) +AC_CHECK_FUNCS([strtol]) +AC_FUNC_MALLOC + +AC_CONFIG_FILES([ + Makefile +]) +AC_OUTPUT