Mercurial > dnsbl
comparison configure.in @ 242:d8ee4c97b9ab stable-6-0-26
64 bit fixes for libresolv.a
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 19 Nov 2010 13:01:07 -0800 |
parents | c0d2e99c0a1d |
children | ef97c7cd4a6e |
comparison
equal
deleted
inserted
replaced
241:315c53fbbb77 | 242:d8ee4c97b9ab |
---|---|
1 | 1 |
2 AC_PREREQ(2.59) | 2 AC_PREREQ(2.59) |
3 AC_INIT(dnsbl,6.25,carl@five-ten-sg.com) | 3 AC_INIT(dnsbl,6.26,carl@five-ten-sg.com) |
4 AC_CONFIG_SRCDIR([config.h.in]) | 4 AC_CONFIG_SRCDIR([config.h.in]) |
5 AC_CONFIG_HEADER([config.h]) | 5 AC_CONFIG_HEADER([config.h]) |
6 | 6 |
7 AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION) | 7 AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION) |
8 | 8 |
50 AC_SUBST(REGEXLIB) | 50 AC_SUBST(REGEXLIB) |
51 | 51 |
52 # check for posix threads | 52 # check for posix threads |
53 ACX_PTHREAD | 53 ACX_PTHREAD |
54 | 54 |
55 # find proper libresolv.a location | |
56 AC_MSG_CHECKING([for libresolv.a]) | |
57 if test -e /usr/lib64/libresolv.a; then | |
58 libresolvdir=/usr/lib64 | |
59 libresolvok=yes | |
60 else | |
61 if test -e /usr/lib/libresolv.a; then | |
62 libresolvdir=/usr/lib | |
63 libresolvok=yes | |
64 else | |
65 libresolvok=no | |
66 fi | |
67 fi | |
68 AC_MSG_RESULT($libresolvok) | |
69 AC_SUBST(LIBRESOLVDIR, [$libresolvdir]) | |
70 | |
55 # See if we have progress callback | 71 # See if we have progress callback |
56 AC_CHECK_LIB([milter], | 72 AC_CHECK_LIB([milter], |
57 [smfi_progress], | 73 [smfi_progress], |
58 [AC_DEFINE(_FFR_SMFI_PROGRESS, 1, Define to 1 to enable progress callback)], | 74 [AC_DEFINE(_FFR_SMFI_PROGRESS, 1, Define to 1 to enable progress callback)], |
59 [AC_DEFINE(_FFR_SMFI_PROGRESS, 0, Define to 1 to enable progress callback)], | 75 [AC_DEFINE(_FFR_SMFI_PROGRESS, 0, Define to 1 to enable progress callback)], |