dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.13)
-AC_REVISION($Revision: 1.23 $)
+AC_REVISION($Revision: 1.24 $)
AC_INIT(src/msgfmt.c)
AM_INIT_AUTOMAKE(gettext, 0.10.37)
RELEASE_DATE=2001-04-17 dnl in "date +%Y-%m-%d" format
aclocaldir='${datadir}/aclocal'
AC_SUBST(aclocaldir)
+dnl Check for tools needed for formatting the documentation.
+ac_aux_dir_abs=`cd $ac_aux_dir && pwd`
+AC_PATH_PROG(DVIPS, dvips, $ac_aux_dir_abs/missing dvips)
+AC_PATH_PROG(TEXI2PDF, texi2pdf, $ac_aux_dir_abs/missing texi2pdf)
+AC_PATH_PROG(TEXI2HTML, texi2html, $ac_aux_dir_abs/missing texi2html)
dnl Generate the version information file in the intl/ directory.
test -d intl || mkdir intl
-2001-04-19 Bruno Haible <haible@clisp.cons.org>
+2001-04-17 Bruno Haible <haible@clisp.cons.org>
+
+ * Makefile.am (DVIPS): Use @DVIPS@. If dvips is missing, the
+ gettext.ps target will fail.
+ (TEXI2PDF): Use @TEXI2PDF@. If texi2pdf is missing, the gettext.pdf
+ target will fail.
+ (TEXI2HTML): Use @TEXI2HTML@. If texi2html is missing, the gettext.html
+ target will fail.
+ (gettext_toc.html): Rewrite so it will do nothing but not fail, if
+ texi2html is missing.
+
+2001-04-17 Bruno Haible <haible@clisp.cons.org>
* Makefile.am (install-html-split): Install into correct directory.
Don't use $<.
(RM): New variable.
-2001-04-19 Bruno Haible <haible@clisp.cons.org>
+2001-04-17 Bruno Haible <haible@clisp.cons.org>
* ISO_3166: New file.
* iso-3166.sed: New file.
* gettext.texi (End Users): Likewise.
(Country Codes): New node.
-2001-04-19 Bruno Haible <haible@clisp.cons.org>
+2001-04-17 Bruno Haible <haible@clisp.cons.org>
* gettext.texi: Many tweaks by Philipp Thomas <pthomas@suse.de>.
-2001-04-19 Bruno Haible <haible@clisp.cons.org>
+2001-04-17 Bruno Haible <haible@clisp.cons.org>
* gettext.texi (Plural forms): Add section about Lithuanian, reported
by Ricardas Cepas <rch@richard.eu.org>. Fix formula for Slovenian,
reported by Roman Maurer <roman.maurer@amis.net>. Ukrainian is like
Russian, reported by Andy Rysin <arysin@yahoo.com>.
-2001-04-19 Bruno Haible <haible@clisp.cons.org>
+2001-04-17 Bruno Haible <haible@clisp.cons.org>
* gettext.texi (config.guess): New node.
(aclocal): Update list of macros to include.
(Makefile): Add reminder to put intl in front of other directories.
(src/Makefile): Add reminder to define LOCALEDIR.
-2001-04-19 Bruno Haible <haible@clisp.cons.org>
+2001-04-17 Bruno Haible <haible@clisp.cons.org>
* ISO_639: Add Avestan, Bosnian, Chechen, Chamorro, Church Slavic,
Chuvash, Manx, Hiri Motu, Herero, Kikuyu, Kuanyama, Komi, Cornish,
# Documentation in Postscript format.
-DVIPS = dvips -D600
+DVIPS = @DVIPS@ -D600
ps: gettext.ps
# Documentation in Portable Document Format.
-TEXI2PDF = texi2pdf
+TEXI2PDF = @TEXI2PDF@
SUFFIXES = .pdf
pdf: gettext.pdf
# Documentation in HTML format.
-TEXI2HTML = texi2html
+TEXI2HTML = @TEXI2HTML@
html-monolithic: gettext.html
html-split: gettext_toc.html
$(TEXI2HTML) -expandinfo -number -monolithic $<
gettext_toc.html: gettext.texi version.texi $(gettext_TEXINFOS)
- $(RM) gettext_*.html
- $(TEXI2HTML) -expandinfo -number -split_chapter $<
+ case "$(TEXI2HTML)" in \
+ *"/missing texi2html") \
+ $(TEXI2HTML) -expandinfo -number -split_chapter $< || exit 0 ;; \
+ *) $(RM) gettext_*.html ; \
+ $(TEXI2HTML) -expandinfo -number -split_chapter $< ;; \
+ esac
install-html-monolithic: gettext.html
$(mkinstalldirs) $(DESTDIR)$(htmldir)