build: drop HAVE_WIFI define

It's unused.

https://github.com/NetworkManager/NetworkManager/pull/347
This commit is contained in:
Lubomir Rintel
2019-04-15 16:04:46 +02:00
parent 5801f89f4d
commit 7bd06ce4c6
3 changed files with 0 additions and 7 deletions

View File

@@ -218,9 +218,6 @@
/* Whether compilation of ibft setting plugin is enabled */
#mesondefine WITH_SETTINGS_PLUGIN_IBFT
/* Define if you have Wi-Fi support */
#mesondefine WITH_WIFI
/* Define if you have iwd support */
#mesondefine WITH_IWD

View File

@@ -191,9 +191,6 @@ AC_SUBST(NM_DIST_VERSION, "$ac_distver")
AC_ARG_ENABLE(wifi, AS_HELP_STRING([--enable-wifi], [enable Wi-Fi support]))
if test "${enable_wifi}" != "no"; then
enable_wifi='yes'
AC_DEFINE(WITH_WIFI, 1, [Define if you have Wi-Fi support])
else
AC_DEFINE(WITH_WIFI, 0, [Define if you have Wi-Fi support])
fi
AM_CONDITIONAL(WITH_WIFI, test "${enable_wifi}" = "yes")

View File

@@ -259,7 +259,6 @@ config_h.set_quoted('NM_CONFIG_DEFAULT_MAIN_PLUGINS', config_plugins_default)
config_h.set_quoted('NM_DIST_VERSION', dist_version)
enable_wifi = get_option('wifi')
config_h.set10('WITH_WIFI', enable_wifi)
enable_iwd = get_option('iwd')
if enable_iwd