[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Quilt-dev] [patch] allow --with-xgettext and --with-msgfmt
From: |
Dean Roehrich |
Subject: |
[Quilt-dev] [patch] allow --with-xgettext and --with-msgfmt |
Date: |
Wed, 5 Nov 2008 20:47:31 -0600 |
User-agent: |
Mutt/1.5.9i |
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: quilt20081103/configure.ac
===================================================================
--- quilt20081103.orig/configure.ac 2008-11-05 19:23:56.018537000 -0600
+++ quilt20081103/configure.ac 2008-11-05 20:43:39.124957000 -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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Quilt-dev] [patch] allow --with-xgettext and --with-msgfmt,
Dean Roehrich <=