1 From: Dean Roehrich <Dean.Roehrich@sun.com>
2 Subject: [Quilt-dev] [patch] allow --with-xgettext and --with-msgfmt
3 Date: Wed, 05 Nov 2008 20:47:31 CST
4 To: quilt-dev@nongnu.org
6 I needed to specify the GNU versions of xgettext and msgfmt on solaris,
7 and this was all I could think of to get me there. Anyone have a better
14 ===================================================================
15 --- configure.ac.orig 2008-11-05 20:57:14.054642000 -0600
16 +++ configure.ac 2008-11-05 20:57:38.805910000 -0600
17 @@ -342,9 +342,35 @@ fi
19 QUILT_COMPAT_PROG_PATH(SENDMAIL, sendmail, [], [/usr/sbin])
22 +AC_MSG_CHECKING(for xgettext)
23 +AC_ARG_WITH(xgettext, AC_HELP_STRING(
25 + [name of the xgettext executable to use]),
29 + AC_PATH_PROG(XGETTEXT, xgettext)
32 +AC_MSG_RESULT($XGETTEXT)
36 +AC_MSG_CHECKING(for msgfmt)
37 +AC_ARG_WITH(msgfmt, AC_HELP_STRING(
39 + [name of the msgfmt executable to use]),
43 + AC_PATH_PROG(MSGFMT, msgfmt)
46 +AC_MSG_RESULT($MSGFMT)
49 AC_PATH_PROG(MSGMERGE, [msgmerge])
50 -AC_PATH_PROG(MSGFMT, [msgfmt])
51 -AC_PATH_PROG(XGETTEXT, [xgettext])
52 AC_PATH_PROG(MSGUNIQ, [msguniq])
53 AC_PATH_PROG(MSGCAT, [msgcat])
54 if test -n "$MSGFMT" -a -n "$MSGMERGE" -a -n "$XGETTEXT" -a -n "$MSGUNIQ" -a -n "$MSGCAT" ; then