From 56f013bd36652edb5034652dbf13719094dee45b Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Mon, 18 Sep 2023 12:01:58 +0200 Subject: [PATCH] autoconf: Fix processing of --with-preflight and --with-systemd options --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index baf98cae..e77a5997 100644 --- a/configure.ac +++ b/configure.ac @@ -28,7 +28,7 @@ PKG_CHECK_MODULES(limd_glue, libimobiledevice-glue-1.0 >= 1.0.0) AC_ARG_WITH([preflight], [AS_HELP_STRING([--without-preflight], [do not build with preflight worker support @<:@default=yes@:>@])], - [with_preflight=no], + [with_preflight=$withval], [with_preflight=yes]) if test "x$have_limd" = "xyes"; then @@ -75,7 +75,7 @@ fi AC_ARG_WITH([systemd], [AS_HELP_STRING([--without-systemd], [do not build with systemd support @<:@default=yes@:>@])], - [], + [with_systemd=$withval], [with_systemd=yes]) AC_ARG_WITH([systemdsystemunitdir],