# Full developer/debug build.
set _ "$@"
set "$@" --enable-developer --enable-tests
+ # Enable optional features that are off by default
+ if [ "$ci_host" != mingw ]; then
+ set "$@" --enable-user-session
+ fi
shift
# The test coverage for OOM-safety is too
# verbose to be useful on travis-ci.
set "$@" --disable-launchd --disable-systemd
# No libaudit or valgrind
set "$@" --disable-libaudit --without-valgrind
+ # Disable optional features, some of which are on by
+ # default
+ set "$@" --disable-stats
+ set "$@" --disable-user-session
shift
;;
# Re-enable the deprecated pam_console support to make
# sure it still builds
set "$@" --with-console-auth-dir=/var/run/console
+ # Leave stats, user-session, etc. at default settings
+ # to check that the defaults can compile on an old OS
shift
;;