Revision 2801,
1.2 KB
checked in by yasumichi, 14 years ago
(diff) |
gnome-doc-utils への対応
|
Rev | Line | |
---|
[840] | 1 | # -*- Autoconf -*- |
---|
| 2 | # Process this file with autoconf to produce a configure script. |
---|
| 3 | |
---|
| 4 | AC_PREREQ([2.65]) |
---|
| 5 | AC_INIT(vine-manual-build, 0.9.0, http://bts.vinelinux.org/) |
---|
[842] | 6 | AM_INIT_AUTOMAKE([1.9 no-dist-gzip dist-bzip2 tar-ustar]) |
---|
[840] | 7 | AM_MAINTAINER_MODE |
---|
| 8 | |
---|
| 9 | # Checks for programs. |
---|
[1141] | 10 | AC_PATH_PROG(XSLTPROC,xsltproc) |
---|
| 11 | AS_IF(test -z $XSLTPROC, AC_MSG_ERROR([xsltproc was not found.])) |
---|
[2801] | 12 | PKG_CHECK_EXISTS([vine-manual-base], , AC_MSG_ERROR([Cannot find vine-manual-base.])) |
---|
| 13 | PKG_CHECK_EXISTS([gnome-doc-utils], , AC_MSG_ERROR([Cannot find gnome-doc-utils.])) |
---|
[840] | 14 | |
---|
| 15 | # Checks for libraries. |
---|
| 16 | |
---|
| 17 | # Checks for header files. |
---|
| 18 | |
---|
| 19 | # Checks for typedefs, structures, and compiler characteristics. |
---|
| 20 | |
---|
| 21 | # Checks for library functions. |
---|
| 22 | |
---|
| 23 | if test "x${prefix}" = "xNONE"; then |
---|
| 24 | prefix=${ac_default_prefix} |
---|
| 25 | fi |
---|
| 26 | DATADIR=`eval echo ${datadir}` |
---|
| 27 | XSLDIR=`eval echo ${DATADIR}`/sgml/docbook/vine-style-xsl |
---|
| 28 | AC_SUBST(XSLDIR) |
---|
| 29 | |
---|
[2801] | 30 | CSSFILE=`pkg-config --variable=cssfile vine-manual-base` |
---|
| 31 | AC_SUBST(CSSFILE) |
---|
| 32 | |
---|
| 33 | IMAGEDIR=`pkg-config --variable=imagedir vine-manual-base` |
---|
| 34 | AC_SUBST(IMAGEDIR) |
---|
| 35 | |
---|
[840] | 36 | AC_CONFIG_FILES([ |
---|
| 37 | Makefile |
---|
[2801] | 38 | local.xsl |
---|
[840] | 39 | vine-manual-build |
---|
[2801] | 40 | vine-manual-build.pc |
---|
[1165] | 41 | vine-manual-build-vl.spec |
---|
[840] | 42 | ]) |
---|
| 43 | |
---|
| 44 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.