source: trunk/third/xml-i18n-tools/xml-i18n-tools.m4 @ 15545

Revision 15545, 3.1 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r15544, which included commits to RCS files with non-trunk default branches.
Line 
1## xml-i18n-tools.m4 - Configure xml-i18n-tools for the target system. -*-Shell-script-*-
2## Copyright (C) 2001 Eazel, Inc.
3## Author: Maciej Stachowiak <mjs@eazel.com>
4##
5## This program is free software; you can redistribute it and/or modify
6## it under the terms of the GNU General Public License as published by
7## the Free Software Foundation; either version 2 of the License, or
8## (at your option) any later version.
9##
10## This program is distributed in the hope that it will be useful, but
11## WITHOUT ANY WARRANTY; without even the implied warranty of
12## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13## General Public License for more details.
14##
15## You should have received a copy of the GNU General Public License
16## along with this program; if not, write to the Free Software
17## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18##
19## As a special exception to the GNU General Public License, if you
20## distribute this file as part of a program that contains a
21## configuration script generated by Autoconf, you may include it under
22## the same distribution terms that you use for the rest of that program.
23
24# serial 1 AC_PROG_XML_I18N_TOOLS
25AC_DEFUN(AC_PROG_XML_I18N_TOOLS,
26[
27# Always use our own xml-i18n-tools.
28
29XML_I18N_EXTRACT='$(top_srcdir)/xml-i18n-extract'
30AC_SUBST(XML_I18N_EXTRACT)dnl
31
32XML_I18N_MERGE='$(top_srcdir)/xml-i18n-merge'
33AC_SUBST(XML_I18N_MERGE)dnl
34
35XML_I18N_UPDATE='$(top_srcdir)/xml-i18n-update'
36AC_SUBST(XML_I18N_UPDATE)dnl
37
38dnl This is a hack - we use the expansion of AC_SUBST instead of
39dnl AC_SUBST itself to avoid automake putting
40dnl XML_I18N_MERGE_OAF_RULE = @XML_I18N_MERGE_OAF_RULE@
41dnl in all the Makefile.in's
42XML_I18N_MERGE_OAF_RULE='\%.oaf : \%.oaf.in $(top_srcdir)/xml-i18n-merge $(top_srcdir)/po/*.po\
43        $(top_srcdir)/xml-i18n-merge -o $(top_srcdir)/po $< [$]*.oaf'
44AC_DIVERT_PUSH(AC_DIVERSION_SED)dnl
45s%@XML_I18N_MERGE_OAF_RULE@%[$]XML_I18N_MERGE_OAF_RULE%g
46AC_DIVERT_POP()dnl
47
48dnl This is a hack - we use the expansion of AC_SUBST instead of
49dnl AC_SUBST itself to avoid automake putting
50dnl XML_I18N_MERGE_KEYS_RULE = @XML_I18N_MERGE_KEYS_RULE@
51dnl in all the Makefile.in's
52XML_I18N_MERGE_KEYS_RULE='\%.keys : \%.keys.in $(top_srcdir)/xml-i18n-merge $(top_srcdir)/po/*.po\
53        $(top_srcdir)/xml-i18n-merge -k $(top_srcdir)/po $< [$]*.keys'
54AC_DIVERT_PUSH(AC_DIVERSION_SED)dnl
55s%@XML_I18N_MERGE_KEYS_RULE@%[$]XML_I18N_MERGE_KEYS_RULE%g
56AC_DIVERT_POP()dnl
57
58dnl This is a hack - we use the expansion of AC_SUBST instead of   
59dnl AC_SUBST itself to avoid automake putting
60dnl XML_I18N_MERGE_DESKTOP_RULE = @XML_I18N_MERGE_DESKTOP_RULE@
61dnl in all the Makefile.in's
62XML_I18N_MERGE_DESKTOP_RULE='\%.desktop : \%.desktop.in $(top_srcdir)/xml-i18n-merge $(top_srcdir)/po/*.po\
63        $(top_srcdir)/xml-i18n-merge -d $(top_srcdir)/po $< [$]*.desktop'
64AC_DIVERT_PUSH(AC_DIVERSION_SED)dnl
65s%@XML_I18N_MERGE_DESKTOP_RULE@%[$]XML_I18N_MERGE_DESKTOP_RULE%g
66AC_DIVERT_POP()dnl
67
68# Redirect the config.log output again, so that the ltconfig log is not
69# clobbered by the next message.
70exec 5>>./config.log
71])
72
73dnl old names
74AC_DEFUN(AM_PROG_XML_I18N_TOOLS, [indir([AC_PROG_XML_I18N_TOOLS])])dnl
Note: See TracBrowser for help on using the repository browser.