]> gitweb @ CieloNegro.org - daemon.git/blob - configure.ac
f5646c5f0df03e0a03c00512974451dff4912c35
[daemon.git] / configure.ac
1 #                                               -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3
4 AC_PREREQ([2.6])
5 AC_INIT([daemon], [1.8], [pho@cielonegro.org])
6
7 AM_INIT_AUTOMAKE
8 AC_CONFIG_SRCDIR([daemon.c])
9 AC_CONFIG_HEADERS([config.h])
10
11 # Checks for programs.
12 AC_PROG_CC
13
14 # Checks for libraries.
15
16 # Checks for header files.
17 AC_CHECK_HEADERS([stdlib.h sys/param.h unistd.h])
18 AC_CHECK_HEADERS([fcntl.h])
19 AC_CHECK_HEADERS([sys/file.h])
20
21 # Checks for typedefs, structures, and compiler characteristics.
22 AC_TYPE_PID_T
23 AC_TYPE_MODE_T
24 AC_TYPE_SSIZE_T
25
26 # Checks for library functions.
27 AC_CHECK_FUNCS([ftruncate])
28 AC_CHECK_FUNCS([strtol])
29 AC_CHECK_FUNCS([strerror])
30 AC_CHECK_FUNCS([strrchr])
31 AC_REPLACE_FUNCS([getprogname])
32 AC_FUNC_MALLOC
33
34 AC_CONFIG_FILES([
35         Makefile
36 ])
37 AC_OUTPUT