bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PSPP-BUG: [patch] Allow xgettext to be overrided in configure


From: Petter Reinholdtsen
Subject: PSPP-BUG: [patch] Allow xgettext to be overrided in configure
Date: Wed, 13 Jan 2021 13:35:38 +0100

Please consider the following patch for pspp.  It allow the program
xgettext used by configure to be replaced.  I ran into the need to do
this when needing to set some extra parameters for xgettext in our local
environment.

diff --git a/configure.ac b/configure.ac
index d7c7269..3dd6914 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,7 +73,7 @@ $as_echo '<?xml version="1.0" encoding="UTF-8"?>' > 
test.metainf
 $as_echo '<component type="desktop">' >> test.metainfo.xml.in
 $as_echo '<name>Hallo</name>' >> test.metainfo.xml.in
 $as_echo '</component>' >> test.metainfo.xml.in
-xgettext -o mifc.po test.metainfo.xml.in
+${XGETTEXT:-xgettext} -o mifc.po test.metainfo.xml.in
 if ! test -f ./mifc.po  ; then
   PSPP_REQUIRED_PREREQ([appstream 0.12 or later for metainfo.its])
 fi

-- 
Happy hacking
Petter Reinholdtsen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]