libsoup3: update to 3.6.0; fix GTK2/3 app startup
[oi-userland.git] / components / developer / quilt / patches / 05-with-xgettext.patch
blobf8c0165b2b201e63f18da5e91040f09a7076d77b
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
8 way to do this?
10 Dean
13 Index: configure.ac
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])
21 +XGETTEXT=xgettext
22 +AC_MSG_CHECKING(for xgettext)
23 +AC_ARG_WITH(xgettext, AC_HELP_STRING(
24 + [--with-xgettext],
25 + [name of the xgettext executable to use]),
26 + [
27 + XGETTEXT=$withval
28 + ],[
29 + AC_PATH_PROG(XGETTEXT, xgettext)
30 + ]
31 + )
32 +AC_MSG_RESULT($XGETTEXT)
33 +AC_SUBST(XGETTEXT)
35 +MSGFMT=msgfmt
36 +AC_MSG_CHECKING(for msgfmt)
37 +AC_ARG_WITH(msgfmt, AC_HELP_STRING(
38 + [--with-msgfmt],
39 + [name of the msgfmt executable to use]),
40 + [
41 + MSGFMT=$withval
42 + ],[
43 + AC_PATH_PROG(MSGFMT, msgfmt)
44 + ]
45 + )
46 +AC_MSG_RESULT($MSGFMT)
47 +AC_SUBST(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