Rev | Line | |
---|
[840] | 1 | # -*- Autoconf -*- |
---|
| 2 | # Process this file with autoconf to produce a configure script. |
---|
| 3 | |
---|
| 4 | AC_PREREQ([2.65]) |
---|
[4518] | 5 | AC_INIT(vine-manual-build, 0.9.3, 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 | |
---|
[4209] | 30 | STYLE=`eval echo ${XSLDIR}`/local.xsl |
---|
[4184] | 31 | AC_SUBST(STYLE) |
---|
| 32 | |
---|
[2801] | 33 | CSSFILE=`pkg-config --variable=cssfile vine-manual-base` |
---|
| 34 | AC_SUBST(CSSFILE) |
---|
| 35 | |
---|
| 36 | IMAGEDIR=`pkg-config --variable=imagedir vine-manual-base` |
---|
| 37 | AC_SUBST(IMAGEDIR) |
---|
| 38 | |
---|
[2817] | 39 | VMDIR=`pkg-config --variable=manualdir vine-manual-base` |
---|
| 40 | AC_SUBST(VMDIR) |
---|
| 41 | |
---|
[840] | 42 | AC_CONFIG_FILES([ |
---|
| 43 | Makefile |
---|
[2801] | 44 | local.xsl |
---|
[840] | 45 | vine-manual-build |
---|
[2801] | 46 | vine-manual-build.pc |
---|
[1165] | 47 | vine-manual-build-vl.spec |
---|
[4068] | 48 | web.xsl |
---|
[840] | 49 | ]) |
---|
| 50 | |
---|
| 51 | AC_OUTPUT |
---|
Note: See
TracBrowser
for help on using the repository browser.