fix impropper negation
authorChristian Grothoff <christian@grothoff.org>
Tue, 20 Nov 2018 23:32:00 +0000 (00:32 +0100)
committerChristian Grothoff <christian@grothoff.org>
Tue, 20 Nov 2018 23:32:00 +0000 (00:32 +0100)
configure.ac

index 82329ef4577644aee29f9a482b04b2291c04ea8d..69a7d0c24144b6e5e91af4f4a96ef33ec0f8a482 100644 (file)
@@ -206,7 +206,7 @@ rm -f /tmp/gnunet_test_cosks_ssh_garbage
 # iptables is a soft requirement to run tests
 AC_PATH_TARGET_TOOL(VAR_IPTABLES_BINARY, iptables, false)
 
-if test x"$VAR_IPTABLES_BINARY" != x"false"
+if test x"$VAR_IPTABLES_BINARY" = x"false"
 then
   if test -x "/sbin/iptables"
   then
@@ -227,7 +227,7 @@ fi
 AC_PATH_TARGET_TOOL(VAR_IFCONFIG_BINARY, ifconfig, false)
 
 AC_CHECK_PROG(VAR_IFCONFIG_BINARY, ifconfig, true, false)
-if test x"$VAR_IFCONFIG_BINARY" != x"false"
+if test x"$VAR_IFCONFIG_BINARY" = x"false"
 then
   if test -x "/sbin/ifconfig"
   then