configure.ac: Do not build umockdev if --enable-debug-log is used

umockdev relies on the per-context log callbacks to do its checks
properly, and these are not called if ENABLE_DEBUG_LOGGING is defined
(configure --enable-debug-log).

Fixes #1449

Signed-off-by: Tormod Volden <[email protected]>
This commit is contained in:
Tormod Volden committed 2024-01-31 12:32:18 +01:00
1 parent 2fad5a8b1b
commit fdff3cd395
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -383,7 +383,7 @@ AC_ARG_ENABLE([tests-build],
AM_CONDITIONAL([BUILD_EXAMPLES], [test "x$build_examples" != xno])
AM_CONDITIONAL([BUILD_TESTS], [test "x$build_tests" != xno])
AM_CONDITIONAL([BUILD_UMOCKDEV_TEST], [test "x$ac_have_umockdev" = xyes -a "x$log_enabled" != xno])
AM_CONDITIONAL([BUILD_UMOCKDEV_TEST], [test "x$ac_have_umockdev" = xyes -a "x$log_enabled" != xno -a "x$debug_log_enabled" != xyes])
AM_CONDITIONAL([CREATE_IMPORT_LIB], [test "x$create_import_lib" = xyes])
AM_CONDITIONAL([OS_DARWIN], [test "x$backend" = xdarwin])
AM_CONDITIONAL([OS_HAIKU], [test "x$backend" = xhaiku])
+1 -1
View File
@@ -1 +1 @@
#define LIBUSB_NANO 11878
#define LIBUSB_NANO 11879