From 1ccc069e97738e50bb5d40631c4f69b85c1a8a75 Mon Sep 17 00:00:00 2001
From: Cyrille Bagard <nocbos@gmail.com>
Date: Mon, 11 Sep 2023 02:43:51 +0200
Subject: Make the configure script follow the user choice about local
 resources.

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 65e1d37..f9680cb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -256,7 +256,7 @@ AC_ARG_WITH([desktop-dir],
 AC_ARG_WITH([local-resources],
             AS_HELP_STRING([--with-local-resources],
             [define if built components located in the sources are used at runtime [default=no]]),
-            [with_local_resources=yes], [with_local_resources=no])
+            [with_local_resources=$withval], [with_local_resources=no])
 
 
 AM_CONDITIONAL([BUILD_PYTHON_PACKAGE], [test "x$build_python_package" = "xyes"])
-- 
cgit v0.11.2-87-g4458