]> The Tcpdump Group git mirrors - tcpdump/blobdiff - configure.ac
Fix auto-enabling of Capsicum on FreeBSD with Autoconf. [skip appveyor]
[tcpdump] / configure.ac
index 9567d51cfea178cffc89d280d841d347abb6c766..3e6e47e148e987b21a2ec3588238415fc3243f30 100644 (file)
@@ -198,7 +198,7 @@ AC_ARG_WITH(sandbox-capsicum,
 # XXX - do we need to check for all of them, or are there some that, if
 # present, imply others are present?
 #
-if test ! -z "$with_sandbox_capsicum" && test "$with_sandbox_capsicum" != "no" ; then
+if test -z "$with_sandbox_capsicum" || test "$with_sandbox_capsicum" != "no" ; then
        #
        # First, make sure we have the required header.
        #