Develop and Download Open Source Software

Browse Subversion Repository

Contents of /trunk/lfsbook/configure.ac

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1310 - (show annotations) (download)
Thu Jun 25 08:09:56 2020 UTC (3 years, 9 months ago) by matsuand
File size: 2250 byte(s)
[LFS-SVN] SVN-20200622, チェンジセット 11896-11985 対応。訳仕掛かり中。
1 # -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script.
3 #
4 # This is part of LFSbookja package.
5 #
6 # This is a CTIE change file for the original XML source of the LFSbook.
7 #
8 # $Author$
9 # $Rev$
10 # $Date:: $
11 #
12
13 m4_include([version.ac])[] dnl define lfs_version
14
15 AC_PREREQ([2.63])
16 AC_INIT([LFSbookja], [svn], [matsuand AT users DOT osdn DOT me])
17 AM_INIT_AUTOMAKE([-Wno-portability])
18 AM_MAINTAINER_MODE
19
20 m4_include([m4/progs.m4])
21 m4_include([m4/ax_compare_version.m4])
22 m4_include([m4/ac_check_docbook_xslt.m4])
23 m4_include([m4/ac_check_docbook_dtd.m4])
24 #m4_include([m4/ac_check_ipafontdir.m4])
25 m4_include([m4/ac_check_takaofontdir.m4])
26
27 # Checks for programs.
28 AC_PROG_CC
29
30 XSLTPROC_FLAGS='--nonet '
31 AC_CHECK_DOCBOOK_XSLT
32 if test "x$HAVE_DOCBOOK_XSLT" = "xno"; then
33 AC_MSG_ERROR([Docbook XSLT not found])
34 fi
35
36 XSLTPROC_FLAGS='--nonet '
37 AC_CHECK_DOCBOOK_DTD([4.5])
38 if test "x$HAVE_DOCBOOK_DTD_VERS" = "xno"; then
39 AC_MSG_ERROR([Docbook DTD 4.5 not found])
40 fi
41
42 AC_PROG_XMLLINT
43 AC_PROG_TIDY
44
45 m4_include([m4/ac_check_rev.m4])
46
47 TARGETVER=lfs_version()
48
49 SVNVER=`grep 'ENTITY version ' ${bookdir}/general.ent | sed -e 's/^<!ENTITY version \"//' -e 's/\">$//' | tr 'A-Z' 'a-z'`
50 AC_MSG_CHECKING([for the original XML version])
51 if test ! "$SVNVER" = "$TARGETVER"; then
52 AC_MSG_RESULT([$SVNVER])
53 AC_MSG_WARN([Version of the original XML not $TARGETVER])
54 else
55 AC_MSG_RESULT([$SVNVER])
56 fi
57 AC_SUBST(SVNVER)
58
59 AC_PROG_LYNX
60 AC_PROG_FOP
61 AC_CHECK_TAKAOGFONTDIR
62
63 AC_CONFIG_FILES([Makefile
64 ctie/Makefile
65 src/Makefile
66 src/userconfig.xml
67 src/appendices/Makefile
68 src/chapter01/Makefile
69 src/chapter02/Makefile
70 src/chapter03/Makefile
71 src/chapter04/Makefile
72 src/chapter05/Makefile
73 src/chapter06/Makefile
74 src/chapter07/Makefile
75 src/chapter08/Makefile
76 src/chapter09/Makefile
77 src/chapter10/Makefile
78 src/chapter11/Makefile
79 src/part3intro/Makefile
80 src/prologue/Makefile
81 src/stylesheets/Makefile
82 src/stylesheets/lfs-xsl/Makefile
83 src/stylesheets/lfs-xsl/pdf/Makefile
84 src/stylesheets/lfs-xsl/xhtml/Makefile
85 src/udev-lfs/Makefile
86 src/udev-lfs/contrib/Makefile
87 src/udev-lfs/contrib/debian/Makefile])
88 AC_OUTPUT

Properties

Name Value
svn:keywords Date Author Rev

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26