Skip to content

Commit

Permalink
Move some configure checks out of a condition
Browse files Browse the repository at this point in the history
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 <simo@redhat.com>
  • Loading branch information
simo5 committed May 31, 2022
1 parent c0b879b commit 325869a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 325869a

Please sign in to comment.