Skip to content

Commit 325869a

Browse files
committed
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 <[email protected]>
1 parent c0b879b commit 325869a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

configure.ac

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,13 +164,13 @@ if test x$only_gss_module != xyes; then
164164
[AC_MSG_ERROR([Could not find libcap headers])])
165165
fi
166166

167-
if test x$initscript = xsystemd; then
168-
WITH_SYSTEMD_UNIT_DIR
169-
WITH_SYSTEMD_USER_UNIT_DIR
170-
AM_CHECK_SYSTEMD
171-
fi
172167
fi
173168
AM_CONDITIONAL([BUILD_PROXY], [test x$only_gss_module != xyes ])
169+
if test x$initscript = xsystemd; then
170+
WITH_SYSTEMD_UNIT_DIR
171+
WITH_SYSTEMD_USER_UNIT_DIR
172+
fi
173+
AM_CHECK_SYSTEMD
174174

175175
AC_ARG_ENABLE([always-interpose],
176176
[AC_HELP_STRING([--enable-always-interpose],

0 commit comments

Comments
 (0)