summaryrefslogtreecommitdiff
path: root/configure.in
blob: 40e680682cc6111eb13bd7f601853e02a87d8d5d (plain)
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
32
33
34
35
36
37
38
39


dnl Process this file with autoconf to produce a configure script.
AC_INIT(nullpop, 0.1, nielsen@memberwebs.com)
AM_INIT_AUTOMAKE(nullpop, 0.1)

dnl Process this file with autoconf to produce a configure script.
AC_INIT(nullpop.c)

dnl Checks for programs.
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S

dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(fcntl.h limits.h paths.h sys/file.h sys/time.h syslog.h unistd.h)

dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
AC_TYPE_SIZE_T
AC_HEADER_TIME
AC_TYPE_UID_T

dnl Checks for library functions.
AC_FUNC_ALLOCA
AC_TYPE_SIGNAL
AC_CHECK_FUNCS(gethostname select socket strdup strerror strstr)

AC_ARG_ENABLE(debug,
[  --enable-debug      enable debugging messages and logging.],
[
AC_MSG_RESULT(debugging enabled)
AC_DEFINE(DEBUG)
],)

AC_CONFIG_HEADER(config.h)
AC_OUTPUT(Makefile)