Mercurial > dnsbl
comparison configure.in @ 229:b3652d1ae010
autoconf cleanup from libpst changes
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sat, 07 Feb 2009 11:31:59 -0800 |
parents | 3fee608becbc |
children | ad38575e98ca |
comparison
equal
deleted
inserted
replaced
228:87e760b2b1b9 | 229:b3652d1ae010 |
---|---|
18 AC_PROG_CXX | 18 AC_PROG_CXX |
19 AC_PROG_CC | 19 AC_PROG_CC |
20 AC_PROG_CPP | 20 AC_PROG_CPP |
21 AC_PROG_INSTALL | 21 AC_PROG_INSTALL |
22 AC_PROG_LN_S | 22 AC_PROG_LN_S |
23 AC_PROG_LIBTOOL | |
23 AC_PROG_MAKE_SET | 24 AC_PROG_MAKE_SET |
24 AC_PROG_RANLIB | 25 AC_PROG_RANLIB |
25 | 26 |
26 # Checks for header files. | 27 # Checks for header files. |
27 AC_HEADER_SYS_WAIT | 28 AC_HEADER_SYS_WAIT |
28 AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h sys/ioctl.h sys/socket.h syslog.h unistd.h]) | 29 AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h regex.h sys/ioctl.h sys/socket.h syslog.h unistd.h]) |
29 | 30 |
30 # Checks for typedefs, structures, and compiler characteristics. | 31 # Checks for typedefs, structures, and compiler characteristics. |
31 AC_HEADER_STDBOOL | 32 AC_HEADER_STDBOOL |
32 AC_C_CONST | 33 AC_C_CONST |
33 AC_TYPE_PID_T | 34 AC_TYPE_PID_T |
39 AC_FUNC_GETPGRP | 40 AC_FUNC_GETPGRP |
40 AC_HEADER_STDC | 41 AC_HEADER_STDC |
41 AC_FUNC_STAT | 42 AC_FUNC_STAT |
42 AC_FUNC_STRFTIME | 43 AC_FUNC_STRFTIME |
43 AC_CHECK_FUNCS([daemon dup2 gethostbyname gethostname memmove memrchr memset regcomp socket strcasecmp strchr strdup strerror strncasecmp strrchr strstr strtol]) | 44 AC_CHECK_FUNCS([daemon dup2 gethostbyname gethostname memmove memrchr memset regcomp socket strcasecmp strchr strdup strerror strncasecmp strrchr strstr strtol]) |
45 | |
46 AC_CHECK_FUNCS(regexec,,[AC_CHECK_LIB(regex,regexec, | |
47 [REGEXLIB=-lregex | |
48 AC_DEFINE(HAVE_REGEXEC,1,[Define to 1 if you have the regexec function.])], | |
49 [AC_MSG_ERROR([No regex library found])])]) | |
50 AC_SUBST(REGEXLIB) | |
44 | 51 |
45 # check for posix threads | 52 # check for posix threads |
46 ACX_PTHREAD | 53 ACX_PTHREAD |
47 | 54 |
48 # See if we have progress callback | 55 # See if we have progress callback |