build: drop HAVE_WIFI define
It's unused. https://github.com/NetworkManager/NetworkManager/pull/347
This commit is contained in:
@@ -218,9 +218,6 @@
|
|||||||
/* Whether compilation of ibft setting plugin is enabled */
|
/* Whether compilation of ibft setting plugin is enabled */
|
||||||
#mesondefine WITH_SETTINGS_PLUGIN_IBFT
|
#mesondefine WITH_SETTINGS_PLUGIN_IBFT
|
||||||
|
|
||||||
/* Define if you have Wi-Fi support */
|
|
||||||
#mesondefine WITH_WIFI
|
|
||||||
|
|
||||||
/* Define if you have iwd support */
|
/* Define if you have iwd support */
|
||||||
#mesondefine WITH_IWD
|
#mesondefine WITH_IWD
|
||||||
|
|
||||||
|
@@ -191,9 +191,6 @@ AC_SUBST(NM_DIST_VERSION, "$ac_distver")
|
|||||||
AC_ARG_ENABLE(wifi, AS_HELP_STRING([--enable-wifi], [enable Wi-Fi support]))
|
AC_ARG_ENABLE(wifi, AS_HELP_STRING([--enable-wifi], [enable Wi-Fi support]))
|
||||||
if test "${enable_wifi}" != "no"; then
|
if test "${enable_wifi}" != "no"; then
|
||||||
enable_wifi='yes'
|
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
|
fi
|
||||||
AM_CONDITIONAL(WITH_WIFI, test "${enable_wifi}" = "yes")
|
AM_CONDITIONAL(WITH_WIFI, test "${enable_wifi}" = "yes")
|
||||||
|
|
||||||
|
@@ -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)
|
config_h.set_quoted('NM_DIST_VERSION', dist_version)
|
||||||
|
|
||||||
enable_wifi = get_option('wifi')
|
enable_wifi = get_option('wifi')
|
||||||
config_h.set10('WITH_WIFI', enable_wifi)
|
|
||||||
|
|
||||||
enable_iwd = get_option('iwd')
|
enable_iwd = get_option('iwd')
|
||||||
if enable_iwd
|
if enable_iwd
|
||||||
|
Reference in New Issue
Block a user