If dbus and avahi enablings are fuzzed differently, make them the same

Change-Id: I4acd0e3fac55a0969bfa99e5a2621f3f77aba74d
This commit is contained in:
Tor Lillqvist
2016-12-08 16:16:42 +02:00
parent 2109e7d9a0
commit b9230ca3af

View File

@@ -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 ===================================================================