diff --git a/configure.ac b/configure.ac index bcc29ef62277..4295ee16ce12 100644 --- a/configure.ac +++ b/configure.ac @@ -2368,6 +2368,17 @@ AC_ARG_WITH(system-icu-for-build, [Use icu already on system for build tools (cross-compilation only).])) +dnl =================================================================== +dnl Check for incompatible options set by fuzzing, and reset those +dnl automatically to working combinations +dnl =================================================================== + +if test "$libo_fuzzed_enable_dbus" = yes -a "$libo_fuzzed_enable_avahi" -a \ + "$enable_dbus" != "$enable_avahi"; then + AC_MSG_NOTICE([Resetting --enable-avahi=$enable_dbus]) + enable_avahi=$enable_dbus +fi + dnl =================================================================== dnl check for required programs (grep, awk, sed, bash) dnl ===================================================================