Mercurial > syslog2iptables
annotate configure.in @ 42:d9ae11033b4b stable-1-9
Add default config to firewall systems that send bounces to non-existant accounts.
Switch to Mercurial source control. Update spec file for fedora packaging.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 21 Mar 2008 14:02:32 -0700 |
parents | 6a2f26976898 |
children | 9e9f09cf411c |
rev | line source |
---|---|
1 | 1 |
31 | 2 AC_PREREQ(2.59) |
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
|
3 AC_INIT(syslog2iptables,1.9,carl@five-ten-sg.com) |
31 | 4 AC_CONFIG_SRCDIR([config.h.in]) |
5 AC_CONFIG_HEADER([config.h]) | |
6 | |
7 AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION) | |
8 | |
9 # Checks for programs. | |
9 | 10 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
|
11 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
|
12 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
|
13 fi |
31 | 14 AC_PROG_CXX |
15 AC_PROG_CC | |
16 AC_PROG_CPP | |
17 AC_PROG_AWK | |
18 AC_PROG_INSTALL | |
19 AC_PROG_LN_S | |
20 AC_PROG_MAKE_SET | |
21 AC_PROG_RANLIB | |
1 | 22 |
31 | 23 # Checks for libraries. |
1 | 24 |
31 | 25 # Checks for header files. |
26 AC_HEADER_SYS_WAIT | |
27 AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h sys/socket.h syslog.h unistd.h]) | |
28 | |
29 # Checks for typedefs, structures, and compiler characteristics. | |
30 AC_HEADER_STDBOOL | |
31 AC_C_CONST | |
32 | |
33 # Checks for library functions. | |
34 AC_FUNC_FORK | |
35 AC_FUNC_GETPGRP | |
36 AC_HEADER_STDC | |
37 AC_FUNC_STAT | |
38 AC_CHECK_FUNCS([gethostbyname inet_ntoa memchr memmove memset regcomp strdup strtol]) | |
39 | |
40 AC_CONFIG_FILES([Makefile | |
32 | 41 syslog2iptables.rc |
31 | 42 syslog2iptables.spec |
43 html/Makefile | |
44 info/Makefile | |
45 man/Makefile | |
46 src/Makefile | |
47 xml/Makefile | |
48 xml/syslog2iptables]) | |
49 | |
50 AC_OUTPUT |