components/quilt/patches/05-with-xgettext.patch
author Matt Keenan <matt.keenan@oracle.com>
Fri, 19 Jun 2015 09:35:02 +0100
branchs11-update
changeset 4508 d8924d870370
parent 327 b3a36ee93012
permissions -rw-r--r--
PSARC 2015/172 OpenStack Ironic (OpenStack Bare Metal Provisioning Service) PSARC 2015/070 pecan - Lightweight Python web-framework PSARC 2015/071 PyCA Python Cryptography PSARC 2015/170 OpenStack client for Ironic (Bare Metal Provisioning) PSARC 2015/171 scp - python secure copy PSARC 2015/196 singledispatch - Single-dispatch generic functions for Python PSARC 2015/197 logutils - Set of handlers for standard Python logging library PSARC 2015/198 Support for enumerations in Python 2.6 and 2.7 PSARC 2015/250 paramiko - SSHv2 protocol implementation in Python 20547142 Request to integrate Ironic into userland 17502639 The Python paramiko module should be added to Userland 20172780 The Python module scp should be added to Userland 20180376 The Python module ironicclient should be added to Userland 20182588 The Python module pecan should be added to Userland 20465525 The PyCA cryptography module should be added to Userland 20904396 The Python module singledispatch should be added to Userland 20904413 The Python module logutils should be added to Userland 20917993 The Python enum34 module should be added to Userland

From:    Dean Roehrich <[email protected]>
Subject: [Quilt-dev] [patch] allow --with-xgettext and --with-msgfmt
Date:    Wed, 05 Nov 2008 20:47:31 CST
To:      [email protected]

I needed to specify the GNU versions of xgettext and msgfmt on solaris,
and this was all I could think of to get me there.  Anyone have a better
way to do this?

Dean


Index: configure.ac
===================================================================
--- configure.ac.orig	2008-11-05 20:57:14.054642000 -0600
+++ configure.ac	2008-11-05 20:57:38.805910000 -0600
@@ -342,9 +342,35 @@ fi
 
 QUILT_COMPAT_PROG_PATH(SENDMAIL, sendmail, [], [/usr/sbin])
 
+XGETTEXT=xgettext
+AC_MSG_CHECKING(for xgettext)
+AC_ARG_WITH(xgettext, AC_HELP_STRING(
+  [--with-xgettext],
+  [name of the xgettext executable to use]),
+  [
+    XGETTEXT=$withval
+    ],[
+    AC_PATH_PROG(XGETTEXT, xgettext)
+  ]
+  )
+AC_MSG_RESULT($XGETTEXT)
+AC_SUBST(XGETTEXT)
+
+MSGFMT=msgfmt
+AC_MSG_CHECKING(for msgfmt)
+AC_ARG_WITH(msgfmt, AC_HELP_STRING(
+  [--with-msgfmt],
+  [name of the msgfmt executable to use]),
+  [
+    MSGFMT=$withval
+    ],[
+    AC_PATH_PROG(MSGFMT, msgfmt)
+  ]
+  )
+AC_MSG_RESULT($MSGFMT)
+AC_SUBST(MSGFMT)
+
 AC_PATH_PROG(MSGMERGE, [msgmerge])
-AC_PATH_PROG(MSGFMT, [msgfmt])
-AC_PATH_PROG(XGETTEXT, [xgettext])
 AC_PATH_PROG(MSGUNIQ, [msguniq])
 AC_PATH_PROG(MSGCAT, [msgcat])
 if test -n "$MSGFMT" -a -n "$MSGMERGE" -a -n "$XGETTEXT" -a -n "$MSGUNIQ" -a -n "$MSGCAT" ; then