Mercurial > dnsbl
annotate configure.in @ 149:9581f6e62574
switch to second context wins in all cases
author | carl |
---|---|
date | Mon, 19 Feb 2007 15:57:24 -0800 |
parents | 9330b8d6a56b |
children | a23ef169d322 |
rev | line source |
---|---|
105 | 1 |
148
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
2 AC_PREREQ(2.59) |
149 | 3 AC_INIT(dnsbl,5.28,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. |
105 | 10 AC_PATH_PROGS(BASH, bash) |
148
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
11 AC_PROG_CXX |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
12 AC_PROG_CC |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
13 AC_PROG_CPP |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
14 AC_PROG_INSTALL |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
15 AC_PROG_LN_S |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
16 AC_PROG_MAKE_SET |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
17 AC_PROG_RANLIB |
105 | 18 |
148
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
19 # Checks for header files. |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
20 AC_HEADER_SYS_WAIT |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
21 AC_CHECK_HEADERS([arpa/inet.h netdb.h netinet/in.h sys/ioctl.h sys/socket.h syslog.h unistd.h]) |
105 | 22 |
148
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
23 # Checks for typedefs, structures, and compiler characteristics. |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
24 AC_HEADER_STDBOOL |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
25 AC_C_CONST |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
26 AC_TYPE_PID_T |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
27 AC_TYPE_SIZE_T |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
28 |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
29 # Checks for library functions. |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
30 AC_FUNC_ERROR_AT_LINE |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
31 AC_FUNC_FORK |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
32 AC_FUNC_GETPGRP |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
33 AC_HEADER_STDC |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
34 AC_FUNC_STAT |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
35 AC_CHECK_FUNCS([gethostbyname gethostname memmove memset socket strchr strdup strncasecmp strrchr strstr strtol]) |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
36 |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
37 AC_CONFIG_FILES([Makefile |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
38 dnsbl.spec |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
39 html/Makefile |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
40 info/Makefile |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
41 man/Makefile |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
42 src/Makefile |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
43 xml/Makefile |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
44 xml/dnsbl]) |
9330b8d6a56b
add documentation fixes, allow env_from target of inherit
carl
parents:
147
diff
changeset
|
45 AC_OUTPUT |