Signed-off-by: Simon McVittie <smcv@collabora.com>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=98191
AC_DEFINE([_BSD_SOURCE],[1],[Define to enable BSD features])
])
-dnl TODO: The compiler flags below disable warnings that the
-dnl compiler emits while building dbus. Fix the source
-dnl code and remove these flags.
-DISABLE_WARNINGS="$DISABLE_WARNINGS
- -Wno-switch-default
- -Wno-switch-enum
- "
-
dnl We are only calling this for its side-effect of setting up
dnl --enable-compile-warnings; the WARN_CFLAGS, etc. are ignored,
dnl to work around https://github.com/peti/autoconf-archive/pull/96