mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-01 13:55:36 +00:00
build: define WITH_OPENVSWITCH in "config.h"
It will be used next.
This commit is contained in:
parent
5ad119391a
commit
ee91f1f9ab
|
@ -224,6 +224,9 @@
|
|||
/* Define if you have oFono support (experimental) */
|
||||
#mesondefine WITH_OFONO
|
||||
|
||||
/* Whether we build with OVS plugin */
|
||||
#mesondefine WITH_OPENVSWITCH
|
||||
|
||||
/* Define if you have PPP support */
|
||||
#mesondefine WITH_PPP
|
||||
|
||||
|
@ -261,3 +264,4 @@
|
|||
|
||||
/* Define to 1 if you have history support from -lreadline. */
|
||||
#mesondefine HAVE_READLINE_HISTORY
|
||||
|
||||
|
|
|
@ -851,6 +851,11 @@ if test "${enable_ovs}" != "no"; then
|
|||
fi
|
||||
fi
|
||||
AM_CONDITIONAL(WITH_OPENVSWITCH, test "${enable_ovs}" = "yes")
|
||||
if test "${enable_ovs}" = "yes" ; then
|
||||
AC_DEFINE(WITH_OPENVSWITCH, 1, [Whether we build with OVS plugin])
|
||||
else
|
||||
AC_DEFINE(WITH_OPENVSWITCH, 0, [Whether we build with OVS plugin])
|
||||
fi
|
||||
|
||||
# DHCP client support
|
||||
AC_ARG_WITH([dhclient],
|
||||
|
|
|
@ -644,6 +644,7 @@ enable_ovs = get_option('ovs')
|
|||
if enable_ovs
|
||||
assert(jansson_dep.found(), 'jansson is needed for Open vSwitch integration. Use -Dovs=false to disable it')
|
||||
endif
|
||||
config_h.set10('WITH_OPENVSWITCH', enable_ovs)
|
||||
|
||||
# DNS resolv.conf managers
|
||||
config_dns_rc_manager_default = get_option('config_dns_rc_manager_default')
|
||||
|
|
Loading…
Reference in a new issue