From 5c0cc1ee8b86187a146c10f1a1bca683f3b016b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Tue, 9 Jul 2019 13:35:39 +0200 Subject: [PATCH] Add missing AX_RESTORE_FLAGS([geoip2]) to configure.ac --- configure | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 1 + 2 files changed, 54 insertions(+) diff --git a/configure b/configure index 883b2c3aa8..d1c264bca0 100755 --- a/configure +++ b/configure @@ -14835,6 +14835,59 @@ else as_fn_error $? "GeoIP2 requested, but libmaxminddb not found" "$LINENO" 5 fi + + CCASFLAGS=$CCASFLAGS_maxminddb_ax_save_flags + + + CFLAGS=$CFLAGS_maxminddb_ax_save_flags + + + CPPFLAGS=$CPPFLAGS_maxminddb_ax_save_flags + + + CXXFLAGS=$CXXFLAGS_maxminddb_ax_save_flags + + + ERLCFLAGS=$ERLCFLAGS_maxminddb_ax_save_flags + + + FCFLAGS=$FCFLAGS_maxminddb_ax_save_flags + + + FCLIBS=$FCLIBS_maxminddb_ax_save_flags + + + FFLAGS=$FFLAGS_maxminddb_ax_save_flags + + + FLIBS=$FLIBS_maxminddb_ax_save_flags + + + GCJFLAGS=$GCJFLAGS_maxminddb_ax_save_flags + + + JAVACFLAGS=$JAVACFLAGS_maxminddb_ax_save_flags + + + LDFLAGS=$LDFLAGS_maxminddb_ax_save_flags + + + LIBS=$LIBS_maxminddb_ax_save_flags + + + OBJCFLAGS=$OBJCFLAGS_maxminddb_ax_save_flags + + + OBJCXXFLAGS=$OBJCXXFLAGS_maxminddb_ax_save_flags + + + UPCFLAGS=$UPCFLAGS_maxminddb_ax_save_flags + + + VALAFLAGS=$VALAFLAGS_maxminddb_ax_save_flags + + + ;; esac diff --git a/configure.ac b/configure.ac index d94c654e92..c50337d324 100644 --- a/configure.ac +++ b/configure.ac @@ -560,6 +560,7 @@ AS_IF([test "$enable_geoip" = "yes"], AS_VAR_COPY([MAXMINDDB_PREFIX], [$with_maxminddb]) ], [AC_MSG_ERROR([GeoIP2 requested, but libmaxminddb not found])]) + AX_RESTORE_FLAGS([maxminddb]) ]) AC_ARG_VAR([MAXMINDDB_PREFIX], [value of prefix for MAXMINDDB, overriding pkg-config]) ])