From ea54e39cdb6b6a6bc04d401ce7397b7da7409451 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 17 May 2022 19:39:22 +1000 Subject: [PATCH] Remove extraneous '$' in AS_VAR_COPY([MAXMINDDB_PREFIX], [with_maxminddb]) (cherry picked from commit 686d691fa93d2609eff26992cc3954a6b901f7ec) --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 5ab3de9da5f..1722890d5a1 100755 --- a/configure +++ b/configure @@ -15231,7 +15231,7 @@ $as_echo "#define HAVE_GEOIP2 1" >>confdefs.h MAXMINDDB_LIBS="$MAXMINDDB_LIBS $ac_cv_search_MMDB_open" { $as_echo "$as_me:${as_lineno-$LINENO}: GeoIP2 default database path set to $with_maxminddb/share/GeoIP" >&5 $as_echo "$as_me: GeoIP2 default database path set to $with_maxminddb/share/GeoIP" >&6;} - eval MAXMINDDB_PREFIX=\$$with_maxminddb + eval MAXMINDDB_PREFIX=$with_maxminddb else as_fn_error $? "GeoIP2 requested, but libmaxminddb not found" "$LINENO" 5 diff --git a/configure.ac b/configure.ac index d68f10ca29a..cf597c48799 100644 --- a/configure.ac +++ b/configure.ac @@ -640,7 +640,7 @@ AS_IF([test "$enable_geoip" = "yes"], GEOIP2LINKOBJS='${GEOIP2LINKOBJS}' 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]) -- 2.47.3