chiark / gitweb /
Prep v239: Only _HANDLE_ACTION_INVALID makes method_can_shutdown_or_sleep() answer...
[elogind.git] / meson_options.txt
index 487c43c555e134856cf6b458dd2e4110157a9aa6..3c3b4cb30e26cad2c68364b1bb6995aa833f0eda 100644 (file)
@@ -14,9 +14,11 @@ option('rootprefix', type : 'string',
 #        description : 'link systemd-udev and its helpers to libsystemd-shared.so')
 # option('link-systemctl-shared', type: 'boolean',
 #        description : 'link systemctl against libsystemd-shared.so')
-# option('static-libsystemd', type : 'combo',
-#        choices : ['false', 'true', 'pic', 'no-pic'],
-#        description : '''install a static library for libsystemd''')
+#endif // 0
+option('static-libelogind', type : 'combo',
+       choices : ['false', 'true', 'pic', 'no-pic'],
+       description : '''install a static library for libelogind''')
+#if 0 /// UNNEEDED by elogind
 # option('static-libudev', type : 'combo',
 #        choices : ['false', 'true', 'pic', 'no-pic'],
 #        description : '''install a static library for libudev''')
@@ -74,12 +76,13 @@ option('kexec-path', type : 'string', description : 'path to kexec')
 #        description : 'enable extra debugging')
 # option('memory-accounting-default', type : 'boolean',
 #        description : 'enable MemoryAccounting= by default')
-# option('valgrind', type : 'boolean', value : false,
-#        description : 'do extra operations to avoid valgrind warnings')
-#else
-option('debug', type : 'string',
-       description : 'enable extra debugging (elogind,hashmap,mmap-cache)')
 #endif // 0
+option('valgrind', type : 'boolean', value : false,
+       description : 'do extra operations to avoid valgrind warnings')
+#if 1 /// Add an extra debugging option for elogind
+option('debug', type : 'array', choices : ['elogind', 'hashmap', 'mmap-cache'], value : [],
+       description : 'enable extra debugging')
+#endif // 1
 
 option('utmp', type : 'boolean',
        description : 'support for utmp/wtmp log handling')