Commit 5c0cc1ee authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Add missing AX_RESTORE_FLAGS([geoip2]) to configure.ac

parent 5570f6bb
Pipeline #17302 passed with stages
in 11 minutes and 30 seconds
...@@ -14835,6 +14835,59 @@ else ...@@ -14835,6 +14835,59 @@ else
as_fn_error $? "GeoIP2 requested, but libmaxminddb not found" "$LINENO" 5 as_fn_error $? "GeoIP2 requested, but libmaxminddb not found" "$LINENO" 5
fi 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 esac
   
......
...@@ -560,6 +560,7 @@ AS_IF([test "$enable_geoip" = "yes"], ...@@ -560,6 +560,7 @@ AS_IF([test "$enable_geoip" = "yes"],
AS_VAR_COPY([MAXMINDDB_PREFIX], [$with_maxminddb]) AS_VAR_COPY([MAXMINDDB_PREFIX], [$with_maxminddb])
], ],
[AC_MSG_ERROR([GeoIP2 requested, but libmaxminddb not found])]) [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]) AC_ARG_VAR([MAXMINDDB_PREFIX], [value of prefix for MAXMINDDB, overriding pkg-config])
]) ])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment