--- amule-cvs.orig/configure.in 2008-02-17 01:22:03.000000000 +0100 +++ amule-cvs.orig/configure.in 2008-02-17 01:22:56.000000000 +0100 @@ -364,7 +364,7 @@ if test x"$ENABLE_IP2COUNTRY" = x"yes" ; then GEOIP_LIB="-lGeoIP" CXXFLAGS="$CXXFLAGS $GEOIP_INCLUDE" - LDFLAGS="$LDFLAGS $GEOIP_LIB" + LIBS="$LIBS $GEOIP_LIB" AC_CHECK_HEADER(GeoIP.h,, [AC_MSG_ERROR([--enable-geoip passed to configure, but the GeoIP header files were not found])]) AC_CHECK_LIB(GeoIP, GeoIP_open,