annotate configure.ac @ 81:cc01f2caff37 stable-1-0-19

add error_log to the httpd files
author Carl Byington <carl@five-ten-sg.com>
date Sun, 11 Feb 2024 12:04:13 -0800
parents fadead7c9142
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
551433a01cab initial coding
carl
parents:
diff changeset
1
31
carl
parents: 27
diff changeset
2 AC_PREREQ(2.59)
81
cc01f2caff37 add error_log to the httpd files
Carl Byington <carl@five-ten-sg.com>
parents: 78
diff changeset
3 AC_INIT(syslog2iptables,1.19,carl@five-ten-sg.com)
31
carl
parents: 27
diff changeset
4 AC_CONFIG_SRCDIR([config.h.in])
carl
parents: 27
diff changeset
5 AC_CONFIG_HEADER([config.h])
76
c6c8a2102a3e add more logging when blocked addresses move to higher scale values
Carl Byington <carl@five-ten-sg.com>
parents: 71
diff changeset
6 AC_CONFIG_MACRO_DIRS([m4])
31
carl
parents: 27
diff changeset
7
76
c6c8a2102a3e add more logging when blocked addresses move to higher scale values
Carl Byington <carl@five-ten-sg.com>
parents: 71
diff changeset
8 AM_INIT_AUTOMAKE
31
carl
parents: 27
diff changeset
9
carl
parents: 27
diff changeset
10 # Checks for programs.
9
d76f9ff42487 initial coding
carl
parents: 1
diff changeset
11 AC_PATH_PROGS(BASH, bash)
42
d9ae11033b4b Add default config to firewall systems that send bounces to non-existant accounts.
Carl Byington <carl@five-ten-sg.com>
parents: 36
diff changeset
12 if test "x$BASH" = x ; then
d9ae11033b4b Add default config to firewall systems that send bounces to non-existant accounts.
Carl Byington <carl@five-ten-sg.com>
parents: 36
diff changeset
13 AC_MSG_ERROR([bash required for init script])
d9ae11033b4b Add default config to firewall systems that send bounces to non-existant accounts.
Carl Byington <carl@five-ten-sg.com>
parents: 36
diff changeset
14 fi
31
carl
parents: 27
diff changeset
15 AC_PROG_CXX
carl
parents: 27
diff changeset
16 AC_PROG_CC
carl
parents: 27
diff changeset
17 AC_PROG_CPP
carl
parents: 27
diff changeset
18 AC_PROG_AWK
carl
parents: 27
diff changeset
19 AC_PROG_INSTALL
carl
parents: 27
diff changeset
20 AC_PROG_LN_S
55
d237bc6331ad autoconf cleanup from libpst changes
Carl Byington <carl@five-ten-sg.com>
parents: 53
diff changeset
21 AC_PROG_LIBTOOL
31
carl
parents: 27
diff changeset
22 AC_PROG_MAKE_SET
1
551433a01cab initial coding
carl
parents:
diff changeset
23
31
carl
parents: 27
diff changeset
24 # Checks for libraries.
1
551433a01cab initial coding
carl
parents:
diff changeset
25
31
carl
parents: 27
diff changeset
26 # Checks for header files.
carl
parents: 27
diff changeset
27 AC_HEADER_SYS_WAIT
55
d237bc6331ad autoconf cleanup from libpst changes
Carl Byington <carl@five-ten-sg.com>
parents: 53
diff changeset
28 AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h regex.h sys/socket.h syslog.h unistd.h])
31
carl
parents: 27
diff changeset
29
carl
parents: 27
diff changeset
30 # Checks for typedefs, structures, and compiler characteristics.
carl
parents: 27
diff changeset
31 AC_HEADER_STDBOOL
carl
parents: 27
diff changeset
32 AC_C_CONST
carl
parents: 27
diff changeset
33
carl
parents: 27
diff changeset
34 # Checks for library functions.
carl
parents: 27
diff changeset
35 AC_FUNC_FORK
carl
parents: 27
diff changeset
36 AC_FUNC_GETPGRP
carl
parents: 27
diff changeset
37 AC_HEADER_STDC
carl
parents: 27
diff changeset
38 AC_FUNC_STAT
44
9e9f09cf411c Add fixes for Solaris from sm-archive.
Carl Byington <carl@five-ten-sg.com>
parents: 42
diff changeset
39 AC_CHECK_FUNCS([daemon gethostbyname inet_ntoa memchr memmove memset regcomp strdup strtol])
31
carl
parents: 27
diff changeset
40
55
d237bc6331ad autoconf cleanup from libpst changes
Carl Byington <carl@five-ten-sg.com>
parents: 53
diff changeset
41 AC_CHECK_FUNCS(regexec,,[AC_CHECK_LIB(regex,regexec,
d237bc6331ad autoconf cleanup from libpst changes
Carl Byington <carl@five-ten-sg.com>
parents: 53
diff changeset
42 [REGEXLIB=-lregex
d237bc6331ad autoconf cleanup from libpst changes
Carl Byington <carl@five-ten-sg.com>
parents: 53
diff changeset
43 AC_DEFINE(HAVE_REGEXEC,1,[Define to 1 if you have the regexec function.])],
d237bc6331ad autoconf cleanup from libpst changes
Carl Byington <carl@five-ten-sg.com>
parents: 53
diff changeset
44 [AC_MSG_ERROR([No regex library found])])])
d237bc6331ad autoconf cleanup from libpst changes
Carl Byington <carl@five-ten-sg.com>
parents: 53
diff changeset
45 AC_SUBST(REGEXLIB)
d237bc6331ad autoconf cleanup from libpst changes
Carl Byington <carl@five-ten-sg.com>
parents: 53
diff changeset
46
46
4eaee1fcffa7 more fixes for Solaris
Carl Byington <carl@five-ten-sg.com>
parents: 44
diff changeset
47 # check for posix threads
4eaee1fcffa7 more fixes for Solaris
Carl Byington <carl@five-ten-sg.com>
parents: 44
diff changeset
48 ACX_PTHREAD
4eaee1fcffa7 more fixes for Solaris
Carl Byington <carl@five-ten-sg.com>
parents: 44
diff changeset
49
31
carl
parents: 27
diff changeset
50 AC_CONFIG_FILES([Makefile
carl
parents: 27
diff changeset
51 syslog2iptables.spec
carl
parents: 27
diff changeset
52 html/Makefile
carl
parents: 27
diff changeset
53 info/Makefile
carl
parents: 27
diff changeset
54 man/Makefile
carl
parents: 27
diff changeset
55 src/Makefile
carl
parents: 27
diff changeset
56 xml/Makefile
carl
parents: 27
diff changeset
57 xml/syslog2iptables])
carl
parents: 27
diff changeset
58
carl
parents: 27
diff changeset
59 AC_OUTPUT