comparison configure.in @ 187:f0eda59e8afd

fix null pointer dereference from missing HELO command
author carl
date Sat, 10 Nov 2007 10:20:54 -0800
parents 505283ab296c
children e10f5951b905
comparison
equal deleted inserted replaced
186:2a80c9b5d2c9 187:f0eda59e8afd
1 1
2 AC_PREREQ(2.59) 2 AC_PREREQ(2.59)
3 AC_INIT(dnsbl,6.12,carl@five-ten-sg.com) 3 AC_INIT(dnsbl,6.13,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
43 AC_CHECK_FUNCS([dup2 gethostbyname gethostname memmove memset socket strchr strdup strerror strncasecmp strrchr strstr strtol]) 43 AC_CHECK_FUNCS([dup2 gethostbyname gethostname memmove memset socket strchr strdup strerror strncasecmp strrchr strstr strtol])
44 44
45 # check for posix threads 45 # check for posix threads
46 ACX_PTHREAD 46 ACX_PTHREAD
47 47
48 # See if we have progress callback
49 AC_CHECK_LIB([milter],
50 [smfi_progress],
51 [AC_DEFINE(_FFR_SMFI_PROGRESS, 1, Define to 1 to enable progress callback)],
52 [AC_DEFINE(_FFR_SMFI_PROGRESS, 0, Define to 1 to enable progress callback)],
53 [-lpthread]
54 )
55
56
48 AC_CONFIG_FILES([Makefile 57 AC_CONFIG_FILES([Makefile
49 dnsbl.rc 58 dnsbl.rc
50 dnsbl.spec 59 dnsbl.spec
51 html/Makefile 60 html/Makefile
52 info/Makefile 61 info/Makefile