1dnl Process this file with autoconf to produce a configure script.
2dnl configure.in for gruftistats, originally made by Colin Phipps using autoscan
3dnl $Id: configure.in,v 1.13 2001/09/16 10:50:09 cph Exp $
4AC_INIT(ircstats.h)
5AM_CONFIG_HEADER(config.h)
6
7dnl Automake stuff
8AM_INIT_AUTOMAKE(gruftistats,0.2.4)
9
10dnl Checks for programs.
11AC_PROG_CC
12AC_C_CONST
13CFLAGS="$CFLAGS -Wall -Wwrite-strings"
14
15dnl Checks for libraries.
16
17dnl Checks for header files.
18AC_HEADER_STDC
19
20dnl Checks for typedefs, structures, and compiler characteristics.
21AC_C_CONST
22AC_TYPE_SIZE_T
23
24dnl Checks for library functions.
25AC_CHECK_FUNCS(strdup strstr strlwr strcasecmp stricmp strlcpy strlcat)
26
27dnl Debugging
28AC_ARG_ENABLE(dmalloc,[  --enable-dmalloc     use the dmalloc heap debug library],AC_CHECK_LIB(dmalloc,malloc))
29
30dnl Output
31AC_OUTPUT(Makefile pipes/Makefile formats/Makefile gruftistats.spec)
32