summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index f1a5bbe43..c8dc934bb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -216,9 +216,9 @@ AS_CASE([$enable_xdp],
)
AM_CONDITIONAL([ENABLE_XDP], [test "$enable_xdp" != "no"])
-AS_IF([test "$enable_xdp" == "yes"], [
+AS_IF([test "$enable_xdp" = "yes"], [
PKG_CHECK_MODULES([libxdp], [libxdp], [enable_xdp=libxdp], [enable_xdp=yes])
- AS_IF([test "$enable_xdp" == "libxdp"], [
+ AS_IF([test "$enable_xdp" = "libxdp"], [
AC_DEFINE([USE_LIBXDP], [1], [Use libxdp.])
libbpf_CFLAGS="$libbpf_CFLAGS $libxdp_CFLAGS"
libbpf_LIBS="$libbpf_LIBS $libxdp_LIBS"