[systemd-devel] [PATCH] build-sys: check for intltool also when polkit is enabled

Robert Schiele rschiele at gmail.com
Thu Jul 31 23:45:36 PDT 2014


On Thu, Jul 31, 2014 at 2:37 PM, Samuli Suominen <ssuominen at gentoo.org> wrote:
> Isn't this scenario already covered by this existing configure.ac test...
>
> AS_IF([test -z "$INTLTOOL_POLICY_RULE"], [
>     # If intltool is not available, provide a dummy rule to fail
> generation of %.policy files with a meaningful error message
>     INTLTOOL_POLICY_RULE='%.policy: %.policy.in ; @echo "  ITMRG   " $@
> && echo "*** intltool support required to build target $@" && false'
>     AC_SUBST(INTLTOOL_POLICY_RULE)
> ])
>
> ...?

This code is actually causing the trouble without my patch in that
situation since this code incorrectly assumes that intltool is not
available since the previous code was missed out and thus the build
fails with a complaint about missing intltool, even when it is
available.

Robert


More information about the systemd-devel mailing list