mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-05 23:48:44 +02:00
Work with Solaris gettext (#341988, Laszlo Peter)
2007-03-06 Matthias Clasen <mclasen@redhat.com> Work with Solaris gettext (#341988, Laszlo Peter) * m4macros/glib-gettext.m4: Make GLIB_WITH_NLS define MSGFMT_OPTS if msgfmt supports -c. * po/Makefile.in.in: Use MSGFMT_OPTS when calling msgfmt. svn path=/trunk/; revision=5369
This commit is contained in:
committed by
Matthias Clasen
parent
085042c6d7
commit
04b0520e09
@@ -41,6 +41,7 @@ CC = @CC@
|
||||
GENCAT = @GENCAT@
|
||||
GMSGFMT = @GMSGFMT@
|
||||
MSGFMT = @MSGFMT@
|
||||
MSGFMT_OPTS = @MSGFMT_OPTS@
|
||||
XGETTEXT = @XGETTEXT@
|
||||
MSGMERGE = msgmerge
|
||||
|
||||
@@ -79,7 +80,7 @@ INSTOBJEXT = @INSTOBJEXT@
|
||||
|
||||
.po.gmo:
|
||||
file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
|
||||
&& rm -f $$file && $(GMSGFMT) -c -o $$file $<
|
||||
&& rm -f $$file && $(GMSGFMT) $(MSGFMT_OPTS) -o $$file $<
|
||||
|
||||
.po.cat:
|
||||
sed -f ../intl/po2msg.sed < $< > $*.msg \
|
||||
|
Reference in New Issue
Block a user