annotate configure.in @ 176:4ec928b24bab stable-6-0-10

allow manual whitelisting with stamp 1 to remove a whitelist entry
author carl
date Sun, 23 Sep 2007 14:33:00 -0700
parents da0c41b9f672
children a4d313c2460b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
105
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
1
148
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
2 AC_PREREQ(2.59)
174
da0c41b9f672 don't whitelist addresses with embedded spaces
carl
parents: 173
diff changeset
3 AC_INIT(dnsbl,6.10,carl@five-ten-sg.com)
148
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
4 AC_CONFIG_SRCDIR([config.h.in])
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
5 AC_CONFIG_HEADER([config.h])
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
6
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
7 AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION)
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
8
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
9 # Checks for programs.
163
97d7da45fe2a spamassassin changes
carl
parents: 162
diff changeset
10 AC_PATH_PROG(BASH, bash)
167
9b129ed78d7d actually use spamassassin result, allow build without spam assassin, only call it if some recipient needs it.
carl
parents: 165
diff changeset
11 if test "x$BASH" = x ; then
9b129ed78d7d actually use spamassassin result, allow build without spam assassin, only call it if some recipient needs it.
carl
parents: 165
diff changeset
12 AC_MSG_ERROR([bash required for init script])
9b129ed78d7d actually use spamassassin result, allow build without spam assassin, only call it if some recipient needs it.
carl
parents: 165
diff changeset
13 fi
163
97d7da45fe2a spamassassin changes
carl
parents: 162
diff changeset
14 AC_PATH_PROG(SPAMC, spamc)
167
9b129ed78d7d actually use spamassassin result, allow build without spam assassin, only call it if some recipient needs it.
carl
parents: 165
diff changeset
15 if test "x$SPAMC" = x ; then
9b129ed78d7d actually use spamassassin result, allow build without spam assassin, only call it if some recipient needs it.
carl
parents: 165
diff changeset
16 AC_MSG_WARN([Spamc not found. SpamAssassin filtering disabled])
9b129ed78d7d actually use spamassassin result, allow build without spam assassin, only call it if some recipient needs it.
carl
parents: 165
diff changeset
17 fi
148
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
18 AC_PROG_CXX
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
19 AC_PROG_CC
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
20 AC_PROG_CPP
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
21 AC_PROG_INSTALL
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
22 AC_PROG_LN_S
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
23 AC_PROG_MAKE_SET
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
24 AC_PROG_RANLIB
105
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
25
148
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
26 # Checks for header files.
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
27 AC_HEADER_SYS_WAIT
163
97d7da45fe2a spamassassin changes
carl
parents: 162
diff changeset
28 AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h sys/ioctl.h sys/socket.h syslog.h unistd.h])
105
c3e9fa6b37c6 move to autoconf/automake/docbook
carl
parents:
diff changeset
29
148
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
30 # Checks for typedefs, structures, and compiler characteristics.
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
31 AC_HEADER_STDBOOL
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
32 AC_C_CONST
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
33 AC_TYPE_PID_T
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
34 AC_TYPE_SIZE_T
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
35
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
36 # Checks for library functions.
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
37 AC_FUNC_ERROR_AT_LINE
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
38 AC_FUNC_FORK
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
39 AC_FUNC_GETPGRP
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
40 AC_HEADER_STDC
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
41 AC_FUNC_STAT
163
97d7da45fe2a spamassassin changes
carl
parents: 162
diff changeset
42 AC_FUNC_STRFTIME
97d7da45fe2a spamassassin changes
carl
parents: 162
diff changeset
43 AC_CHECK_FUNCS([dup2 gethostbyname gethostname memmove memset socket strchr strdup strerror strncasecmp strrchr strstr strtol])
148
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
44
162
c4bce911c276 don't add auto whitelist for A to A
carl
parents: 160
diff changeset
45 # check for posix threads
c4bce911c276 don't add auto whitelist for A to A
carl
parents: 160
diff changeset
46 ACX_PTHREAD
c4bce911c276 don't add auto whitelist for A to A
carl
parents: 160
diff changeset
47
148
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
48 AC_CONFIG_FILES([Makefile
163
97d7da45fe2a spamassassin changes
carl
parents: 162
diff changeset
49 dnsbl.rc
148
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
50 dnsbl.spec
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
51 html/Makefile
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
52 info/Makefile
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
53 man/Makefile
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
54 src/Makefile
163
97d7da45fe2a spamassassin changes
carl
parents: 162
diff changeset
55 src/spamass.cpp
148
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
56 xml/Makefile
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
57 xml/dnsbl])
9330b8d6a56b add documentation fixes, allow env_from target of inherit
carl
parents: 147
diff changeset
58 AC_OUTPUT