meson_options.txt 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. # system paths
  2. option('systemdsystemunitdir', type: 'string', value: '', description: 'Directory for systemd service files')
  3. option('system_ca_path', type: 'string', value: '/etc/ssl/certs', description: 'path to system CA certificates')
  4. option('udev_dir', type: 'string', value: '', description: 'Absolute path of the udev base directory. Set to \'no\' not to install the udev rule')
  5. option('dbus_conf_dir', type: 'string', value: '', description: 'where D-Bus system.d directory is')
  6. option('dbus_ifaces_dir', type: 'string', value: '', description: 'where D-Bus interfaces directory is')
  7. option('dbus_sys_dir', type: 'string', value: '', description: 'where D-Bus system service directory is')
  8. option('polkit_dir', type: 'string', value: '', description: 'where PolicyKit policy directory is')
  9. option('kernel_firmware_dir', type: 'string', value: '/lib/firmware', description: 'where kernel firmware directory is (default is /lib/firmware)')
  10. option('iptables', type: 'string', value: '', description: 'path to iptables')
  11. option('dnsmasq', type: 'string', value: '', description: 'path to dnsmasq')
  12. option('dnssec_trigger', type: 'string', value: '', description: 'path to unbound dnssec-trigger-script')
  13. # platform
  14. option('dist_version', type: 'string', value: '', description: 'Define the NM\'s distribution version string')
  15. option('session_tracking_consolekit', type: 'boolean', value: true, description: 'Support consolekit session tracking')
  16. option('session_tracking', type: 'combo', choices: ['systemd', 'elogind', 'no'], value: 'systemd', description: 'Compatibility option to choose one session tracking module')
  17. option('suspend_resume', type: 'combo', choices: ['upower', 'systemd', 'elogind', 'consolekit', 'auto'], value: 'auto', description: 'Build NetworkManager with specific suspend/resume support')
  18. option('polkit', type: 'combo', choices: ['yes', 'no', 'disabled'], value: 'yes', description: 'set default value for auth-polkit configuration option. This value can be overwritten by NM configuration. \'disabled\' compiles NM without any support')
  19. option('modify_system', type: 'boolean', value: false, description: 'Allow users to modify system connections')
  20. option('polkit_agent', type: 'boolean', value: false, description: 'enable polkit agent for clients')
  21. option('selinux', type: 'boolean', value: true, description: 'Build with SELinux')
  22. option('systemd_journal', type: 'boolean', value: true, description: 'Use systemd journal for logging')
  23. option('config_logging_backend_default', type: 'combo', choices: ['default', 'syslog', 'journal'], value: 'default', description: 'Default value for logging.backend')
  24. option('hostname_persist', type: 'combo', choices: ['default', 'suse', 'gentoo', 'slackware'], value: 'default', description: 'Hostname persist method')
  25. option('libaudit', type: 'combo', choices: ['yes', 'yes-disabled-by-default', 'no'], value: 'yes', description: 'Build with audit daemon support. yes-disabled-by-default enables support, but disables it unless explicitly configured via NetworkManager.conf')
  26. # features
  27. option('wext', type: 'boolean', value: true, description: 'Enable or disable Linux Wireless Extensions')
  28. option('wifi', type: 'boolean', value: true, description: 'enable Wi-Fi support')
  29. option('iwd', type: 'boolean', value: false, description: 'enable iwd support (experimental)')
  30. option('ppp', type: 'boolean', value: true, description: 'enable PPP/PPPoE support')
  31. option('pppd', type: 'string', value: '', description: 'path to pppd binary')
  32. option('pppd_plugin_dir', type: 'string', value: '', description: 'path to the pppd plugins directory')
  33. option('modem_manager', type: 'boolean', value: true, description: 'Enable new ModemManager1 interface support')
  34. option('ofono', type: 'boolean', value: false, description: 'Enable oFono support (experimental)')
  35. option('concheck', type: 'boolean', value: true, description: 'enable connectivity checking support')
  36. option('teamdctl', type: 'boolean', value: false, description: 'enable Teamd control support')
  37. option('ovs', type: 'boolean', value: true, description: 'enable OpenVSwitch support')
  38. option('libnm_glib', type: 'boolean', value: false, description: 'build legacy libraries')
  39. option('nmcli', type: 'boolean', value: true, description: 'Build nmcli')
  40. option('nmtui', type: 'boolean', value: true, description: 'Build nmtui')
  41. option('bluez5_dun', type: 'boolean', value: false, description: 'enable Bluez5 DUN support')
  42. option('ebpf', type: 'combo', choices : ['auto', 'true', 'false'], description: 'Enable eBPF support')
  43. # configuration plugins
  44. option('config_plugins_default', type: 'string', value: '', description: 'Default configuration option for main.plugins setting, used as fallback if the configuration option is unset')
  45. option('ibft', type: 'boolean', value: false, description: 'enable ibft configuration plugin')
  46. option('ifcfg_rh', type: 'boolean', value: false, description: 'enable ifcfg-rh configuration plugin (Fedora/RHEL)')
  47. option('ifupdown', type: 'boolean', value: false, description: 'enable ifupdown configuration plugin (Debian/Ubuntu)')
  48. # handlers for resolv.conf
  49. option('resolvconf', type: 'string', value: '', description: 'Enable resolvconf support')
  50. option('netconfig', type: 'string', value: '', description: 'Enable SUSE netconfig support')
  51. option('config_dns_rc_manager_default', type: 'combo', choices: ['symlink', 'file', 'netconfig', 'resolvconf'], value: 'symlink', description: 'Configure default value for main.rc-manager setting')
  52. # dhcp clients
  53. option('dhclient', type: 'string', value: '', description: 'Enable dhclient support')
  54. option('dhcpcanon', type: 'string', value: '', description: 'Enable dhcpcanon support (experimental)')
  55. option('dhcpcd', type: 'string', value: '', description: 'Enable dhcpcd support')
  56. option('config_dhcp_default', type: 'combo', choices: ['dhcpcanon', 'dhclient', 'dhcpcd', 'internal'], value: 'internal', description: 'Default configuration option for main.dhcp setting, used as fallback if the configuration option is unset')
  57. # miscellaneous
  58. option('introspection', type: 'boolean', value: true, description: 'Enable introspection for this build')
  59. option('vapi', type : 'combo', choices : ['auto', 'true', 'false'], description: 'build Vala bindings')
  60. option('docs', type: 'boolean', value: false, description: 'use to build documentation')
  61. option('tests', type: 'combo', choices: ['yes', 'no', 'root'], value: 'yes', description: 'Build NetworkManager tests')
  62. option('more_asserts', type: 'string', value: 'all', description: 'Enable more assertions for debugging (0 = none, 100 = all, default: all)')
  63. option('more_logging', type: 'boolean', value: true, description: 'Enable more debug logging')
  64. option('valgrind', type: 'array', value: ['no'], description: 'Use valgrind to memory-check the tests')
  65. option('valgrind_suppressions', type: 'string', value: '', description: 'Use specific valgrind suppression file')
  66. option('ld_gc', type: 'boolean', value: true, description: 'Enable garbage collection of unused symbols on linking')
  67. option('libpsl', type: 'boolean', value: true, description: 'Link against libpsl')
  68. option('json_validation', type: 'boolean', value: true, description: 'Enable JSON validation in libnm')
  69. option('crypto', type: 'combo', choices: ['nss', 'gnutls'], value: 'nss', description: 'Cryptography library to use for certificate and key operations')
  70. option('qt', type: 'boolean', value: true, description: 'enable Qt examples')
  71. option('check_settings_docs', type: 'boolean', value: false, description: 'compare check settings-docs.h file')