comparison configure.in @ 163:97d7da45fe2a

spamassassin changes
author carl
date Sun, 26 Aug 2007 19:03:17 -0700
parents c4bce911c276
children bf828f785407
comparison
equal deleted inserted replaced
162:c4bce911c276 163:97d7da45fe2a
1 1
2 AC_PREREQ(2.59) 2 AC_PREREQ(2.59)
3 AC_INIT(dnsbl,6.03,carl@five-ten-sg.com) 3 AC_INIT(dnsbl,6.04,carl@five-ten-sg.com)
4 AC_CONFIG_SRCDIR([config.h.in]) 4 AC_CONFIG_SRCDIR([config.h.in])
5 AC_CONFIG_HEADER([config.h]) 5 AC_CONFIG_HEADER([config.h])
6 6
7 AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION) 7 AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION)
8 8
9 # Checks for programs. 9 # Checks for programs.
10 AC_PATH_PROGS(BASH, bash) 10 AC_PATH_PROG(BASH, bash)
11 AC_PATH_PROG(SPAMC, spamc)
11 AC_PROG_CXX 12 AC_PROG_CXX
12 AC_PROG_CC 13 AC_PROG_CC
13 AC_PROG_CPP 14 AC_PROG_CPP
14 AC_PROG_INSTALL 15 AC_PROG_INSTALL
15 AC_PROG_LN_S 16 AC_PROG_LN_S
16 AC_PROG_MAKE_SET 17 AC_PROG_MAKE_SET
17 AC_PROG_RANLIB 18 AC_PROG_RANLIB
18 19
19 # Checks for header files. 20 # Checks for header files.
20 AC_HEADER_SYS_WAIT 21 AC_HEADER_SYS_WAIT
21 AC_CHECK_HEADERS([arpa/inet.h netdb.h netinet/in.h sys/ioctl.h sys/socket.h syslog.h unistd.h]) 22 AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h sys/ioctl.h sys/socket.h syslog.h unistd.h])
22 23
23 # Checks for typedefs, structures, and compiler characteristics. 24 # Checks for typedefs, structures, and compiler characteristics.
24 AC_HEADER_STDBOOL 25 AC_HEADER_STDBOOL
25 AC_C_CONST 26 AC_C_CONST
26 AC_TYPE_PID_T 27 AC_TYPE_PID_T
30 AC_FUNC_ERROR_AT_LINE 31 AC_FUNC_ERROR_AT_LINE
31 AC_FUNC_FORK 32 AC_FUNC_FORK
32 AC_FUNC_GETPGRP 33 AC_FUNC_GETPGRP
33 AC_HEADER_STDC 34 AC_HEADER_STDC
34 AC_FUNC_STAT 35 AC_FUNC_STAT
35 AC_CHECK_FUNCS([gethostbyname gethostname memmove memset socket strchr strdup strncasecmp strrchr strstr strtol]) 36 AC_FUNC_STRFTIME
37 AC_CHECK_FUNCS([dup2 gethostbyname gethostname memmove memset socket strchr strdup strerror strncasecmp strrchr strstr strtol])
36 38
37 # check for posix threads 39 # check for posix threads
38 ACX_PTHREAD 40 ACX_PTHREAD
39 41
40 AC_CONFIG_FILES([Makefile 42 AC_CONFIG_FILES([Makefile
43 dnsbl.rc
41 dnsbl.spec 44 dnsbl.spec
42 html/Makefile 45 html/Makefile
43 info/Makefile 46 info/Makefile
44 man/Makefile 47 man/Makefile
45 src/Makefile 48 src/Makefile
49 src/spamass.cpp
46 xml/Makefile 50 xml/Makefile
47 xml/dnsbl]) 51 xml/dnsbl])
48 AC_OUTPUT 52 AC_OUTPUT