Commit 056de4ae authored by Stefan Becker's avatar Stefan Becker

configure: support --without-ignored-network-interface-prefix

This fixes commit b4abda09

--without-XXX sets $withval to "no", hence we must check for this special
value instead of ignoring network interfaces that start with "no".
parent d4bc4fa3
...@@ -403,7 +403,7 @@ AC_ARG_WITH([ignored-network-interface-prefix], ...@@ -403,7 +403,7 @@ AC_ARG_WITH([ignored-network-interface-prefix],
check algorithm. For example, interfaces "virbr" in the case of the virtual bridge check algorithm. For example, interfaces "virbr" in the case of the virtual bridge
handled by libvirtd, do not help in finding connectivity.])], handled by libvirtd, do not help in finding connectivity.])],
[interface_prefix="$withval"]) [interface_prefix="$withval"])
AS_IF([test -n "$interface_prefix"], AS_IF([test -n "$interface_prefix" && test "x$interface_prefix" != "xno"],
[[interface_prefix_list=`echo $interface_prefix | sed 's/,/","/g'`] [[interface_prefix_list=`echo $interface_prefix | sed 's/,/","/g'`]
AC_DEFINE_UNQUOTED([IGNORED_IFACE_PREFIX],["$interface_prefix_list"], AC_DEFINE_UNQUOTED([IGNORED_IFACE_PREFIX],["$interface_prefix_list"],
[Ignore this network interface prefix from the connection check]) [Ignore this network interface prefix from the connection check])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment