diff --git a/configure.ac b/configure.ac index 55d8b9f24b..ce959370f1 100644 --- a/configure.ac +++ b/configure.ac @@ -491,7 +491,7 @@ AS_IF([test "$enable_geoip" = "yes"], [AC_DEFINE([HAVE_GEOIP2], [1], [Build with GeoIP2 support]) MAXMINDDB_LIBS="$MAXMINDDB_LIBS $ac_cv_search_MMDB_open" AC_MSG_NOTICE([GeoIP2 default database path set to $with_maxminddb/share/GeoIP]) - AS_VAR_COPY([MAXMINDDB_PREFIX], [$with_maxminddb]) + AS_VAR_COPY([MAXMINDDB_PREFIX], [with_maxminddb]) ], [AC_MSG_ERROR([GeoIP2 requested, but libmaxminddb not found])]) AX_RESTORE_FLAGS([maxminddb])