| 54 |
|
[AC_SEARCH_LIBS(pcre_study, pcre, |
| 55 |
|
[AC_DEFINE(HAVE_LIBPCRE, 1, [Define to 1 if libpcre (-lpcre) is available.])])])], []) |
| 56 |
|
|
| 57 |
+ |
AC_ARG_ENABLE(libGeoIP, |
| 58 |
+ |
[AS_HELP_STRING([--disable-libgeoip],[Disable GeoIP support])], [], |
| 59 |
+ |
[AC_CHECK_HEADER(GeoIP.h, |
| 60 |
+ |
[AC_SEARCH_LIBS(GeoIP_id_by_ipnum_v6_gl, GeoIP, |
| 61 |
+ |
[AC_DEFINE(HAVE_LIBGEOIP, 1, [Define to 1 if libGeoIP (-lGeoIP) is available.])])])], []) |
| 62 |
+ |
|
| 63 |
|
dnl Openssl checks |
| 64 |
|
AC_ARG_ENABLE(openssl, |
| 65 |
|
[ --enable-openssl[=DIR] Enable OpenSSL support (DIR optional). |