https://github.com/gssapi/gssproxy/commit/325869a33cb923ab2123ab4179399a37503ed3b5.patch https://bugs.gentoo.org/848909 From: Simo Sorce Date: Tue, 31 May 2022 11:09:14 -0400 Subject: [PATCH] Move some configure checks out of a condition I was too aggressive in moving all systemd checks, some of them need to be performed at all times because there are conditionals ependent on the detection. The actual build for gss-only module is controlled by the BUILD_PROXY guard anyway, so the checking unconditionally should not cause any change for that configuration even when unused. Signed-off-by: Simo Sorce --- a/configure.ac +++ b/configure.ac @@ -164,13 +164,13 @@ if test x$only_gss_module != xyes; then [AC_MSG_ERROR([Could not find libcap headers])]) fi - if test x$initscript = xsystemd; then - WITH_SYSTEMD_UNIT_DIR - WITH_SYSTEMD_USER_UNIT_DIR - AM_CHECK_SYSTEMD - fi fi AM_CONDITIONAL([BUILD_PROXY], [test x$only_gss_module != xyes ]) +if test x$initscript = xsystemd; then + WITH_SYSTEMD_UNIT_DIR + WITH_SYSTEMD_USER_UNIT_DIR +fi +AM_CHECK_SYSTEMD AC_ARG_ENABLE([always-interpose], [AC_HELP_STRING([--enable-always-interpose],