diff options
author | Daniel Salzman <daniel.salzman@nic.cz> | 2023-07-06 21:49:14 +0200 |
---|---|---|
committer | Daniel Salzman <daniel.salzman@nic.cz> | 2023-07-07 19:57:19 +0200 |
commit | d30b5362160143c836acab3e26a5374fb31c723e (patch) | |
tree | cc0653e4c8f27d49510341355706b67b204ec8ae /configure.ac | |
parent | Merge branch 'quic_ecn' into 'master' (diff) | |
download | knot-d30b5362160143c836acab3e26a5374fb31c723e.tar.xz knot-d30b5362160143c836acab3e26a5374fb31c723e.zip |
configure: fix operator in a few test conditions
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
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" |