summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2017-03-15 17:30:00 +0100
committerYorhel <git@yorhel.nl>2017-03-15 17:31:02 +0100
commite23a4013d6aa5c77fbdbbb36cdef8e90dbf79057 (patch)
treec29258f48f6ff5d8fa6803e4b01dc46a39796780
parent51f4763095e62f4f0957f7c2bb1b6a8c5c7543b7 (diff)
Fix test equality operator portability
Fixes https://dev.yorhel.nl/ncdc/bug/85
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 6511efc..e226cf5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -137,7 +137,7 @@ AC_ARG_WITH([geoip],
[AS_HELP_STRING([--with-geoip], [support for IP-to-country lookups @<:@default=no@:>@])],
[],
[with_geoip=no])
-AS_IF([test "x$with_geoip" == xyes],
+AS_IF([test "x$with_geoip" = xyes],
[PKG_CHECK_MODULES([GEOIP],
[geoip >= 1.2.0],
[AC_DEFINE(USE_GEOIP, 1, [Use libgeoip for IP-to-country lookups])])])