1
|
1
|
31
|
2 AC_PREREQ(2.59)
|
|
3 AC_INIT(syslog2iptables,1.6,carl@five-ten-sg.com)
|
|
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)
|
31
|
11 AC_PROG_CXX
|
|
12 AC_PROG_CC
|
|
13 AC_PROG_CPP
|
|
14 AC_PROG_AWK
|
|
15 AC_PROG_INSTALL
|
|
16 AC_PROG_LN_S
|
|
17 AC_PROG_MAKE_SET
|
|
18 AC_PROG_RANLIB
|
1
|
19
|
31
|
20 # Checks for libraries.
|
1
|
21
|
31
|
22 # Checks for header files.
|
|
23 AC_HEADER_SYS_WAIT
|
|
24 AC_CHECK_HEADERS([arpa/inet.h fcntl.h limits.h netdb.h netinet/in.h sys/socket.h syslog.h unistd.h])
|
|
25
|
|
26 # Checks for typedefs, structures, and compiler characteristics.
|
|
27 AC_HEADER_STDBOOL
|
|
28 AC_C_CONST
|
|
29
|
|
30 # Checks for library functions.
|
|
31 AC_FUNC_FORK
|
|
32 AC_FUNC_GETPGRP
|
|
33 AC_HEADER_STDC
|
|
34 AC_FUNC_STAT
|
|
35 AC_CHECK_FUNCS([gethostbyname inet_ntoa memchr memmove memset regcomp strdup strtol])
|
|
36
|
|
37 AC_CONFIG_FILES([Makefile
|
32
|
38 syslog2iptables.rc
|
31
|
39 syslog2iptables.spec
|
|
40 html/Makefile
|
|
41 info/Makefile
|
|
42 man/Makefile
|
|
43 src/Makefile
|
|
44 xml/Makefile
|
|
45 xml/syslog2iptables])
|
|
46
|
|
47 AC_OUTPUT
|