summaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-webadmin/cockpit/files/0001-Warn-not-error-if-xsltproc-is-not-found.patch
blob: b3b0988b125e0d09076744b989fc6e38411a7a9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From 588bb5cb248aaeaf0fea33084229c99ad1574291 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 7 Sep 2022 11:12:28 -0700
Subject: [PATCH] Warn not error if xsltproc is not found

Upstream-Status: Inappropriate [oe-core specific]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 7659f41..537203e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -177,7 +177,7 @@ AC_SUBST([systemdunitdir], [$systemdunitdir])
 # package as xgettext, and we find them by PATH, so just check for the one.
 AC_PATH_PROG([XGETTEXT], [xsltproc], [no])
 if test "$XGETTEXT" = "no"; then
-        AC_MSG_ERROR([Please install gettext tools])
+        AC_MSG_WARN([Please install gettext tools])
 fi
 
 # ssh-add
-- 
2.37.3