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

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

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


From: John Darrington
Subject: Re: PSPP-BUG: [patch] Allow xgettext to be overrided in configure
Date: Wed, 13 Jan 2021 15:01:07 +0100
User-agent: Mutt/1.10.1 (2018-07-13)

Hello Petter,

Thank you for your patch.

A similar change has been recently made anyway.

Best regards,


John


On Wed, Jan 13, 2021 at 01:35:38PM +0100, Petter Reinholdtsen wrote:
     
     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
     
     _______________________________________________
     Bug-gnu-pspp mailing list
     Bug-gnu-pspp@gnu.org
     https://lists.gnu.org/mailman/listinfo/bug-gnu-pspp



reply via email to

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