Lines 364-370
Link Here
|
364 |
if test x"$ENABLE_IP2COUNTRY" = x"yes" ; then |
364 |
if test x"$ENABLE_IP2COUNTRY" = x"yes" ; then |
365 |
GEOIP_LIB="-lGeoIP" |
365 |
GEOIP_LIB="-lGeoIP" |
366 |
CXXFLAGS="$CXXFLAGS $GEOIP_INCLUDE" |
366 |
CXXFLAGS="$CXXFLAGS $GEOIP_INCLUDE" |
367 |
LDFLAGS="$LDFLAGS $GEOIP_LIB" |
367 |
LIBS="$LIBS $GEOIP_LIB" |
368 |
AC_CHECK_HEADER(GeoIP.h,, |
368 |
AC_CHECK_HEADER(GeoIP.h,, |
369 |
[AC_MSG_ERROR([--enable-geoip passed to configure, but the GeoIP header files were not found])]) |
369 |
[AC_MSG_ERROR([--enable-geoip passed to configure, but the GeoIP header files were not found])]) |
370 |
AC_CHECK_LIB(GeoIP, GeoIP_open, |
370 |
AC_CHECK_LIB(GeoIP, GeoIP_open, |