Commit c0fb34e8 authored by Mark Andrews's avatar Mark Andrews
Browse files

2296. [port] Allow docbook stylesheet location to be specified to

                        configure. [RT #17457]
parent 48fa5940
2296. [port] Allow docbook stylesheet location to be specified to
configure. [RT #17457]
2295. [bug] Silence static overrun error in bin/named/lwaddr.c.
[RT #17459]
......
#! /bin/sh
# Copyright (C) 2004-2007 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1996-2003 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
......@@ -14,7 +14,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
#
# $Id: configure,v 1.419 2008/01/04 03:28:39 marka Exp $
# $Id: configure,v 1.420 2008/01/11 03:11:44 marka Exp $
#
# Portions Copyright (C) 1996-2001 Nominum, Inc.
#
......@@ -29,7 +29,7 @@
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# From configure.in Revision: 1.433 .
# From configure.in Revision: 1.435 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61.
#
......@@ -1654,6 +1654,7 @@ Optional Packages:
both]
--with-tags[=TAGS] include additional configurations [automatic]
--with-kame=PATH use Kame IPv6 default path /usr/local/v6
--with-docbook-xsl=PATH Specify path for Docbook-XSL stylesheets
--with-idn=MPREFIX enable IDN support using idnkit default PREFIX
--with-libiconv=IPREFIX GNU libiconv are in IPREFIX default PREFIX
--with-iconv=LIBSPEC specify iconv library default -liconv
......@@ -9579,7 +9580,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
echo '#line 9582 "configure"' > conftest.$ac_ext
echo '#line 9583 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
......@@ -11701,11 +11702,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:11704: $lt_compile\"" >&5)
(eval echo "\"\$as_me:11705: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:11708: \$? = $ac_status" >&5
echo "$as_me:11709: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
......@@ -11944,11 +11945,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:11947: $lt_compile\"" >&5)
(eval echo "\"\$as_me:11948: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:11951: \$? = $ac_status" >&5
echo "$as_me:11952: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
......@@ -12004,11 +12005,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:12007: $lt_compile\"" >&5)
(eval echo "\"\$as_me:12008: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:12011: \$? = $ac_status" >&5
echo "$as_me:12012: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
......@@ -14152,7 +14153,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 14155 "configure"
#line 14156 "configure"
#include "confdefs.h"
 
#if HAVE_DLFCN_H
......@@ -14250,7 +14251,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 14253 "configure"
#line 14254 "configure"
#include "confdefs.h"
 
#if HAVE_DLFCN_H
......@@ -16443,11 +16444,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:16446: $lt_compile\"" >&5)
(eval echo "\"\$as_me:16447: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:16450: \$? = $ac_status" >&5
echo "$as_me:16451: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
......@@ -16503,11 +16504,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:16506: $lt_compile\"" >&5)
(eval echo "\"\$as_me:16507: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:16510: \$? = $ac_status" >&5
echo "$as_me:16511: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
......@@ -17831,7 +17832,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 17834 "configure"
#line 17835 "configure"
#include "confdefs.h"
 
#if HAVE_DLFCN_H
......@@ -17929,7 +17930,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 17932 "configure"
#line 17933 "configure"
#include "confdefs.h"
 
#if HAVE_DLFCN_H
......@@ -18766,11 +18767,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:18769: $lt_compile\"" >&5)
(eval echo "\"\$as_me:18770: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:18773: \$? = $ac_status" >&5
echo "$as_me:18774: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
......@@ -18826,11 +18827,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:18829: $lt_compile\"" >&5)
(eval echo "\"\$as_me:18830: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:18833: \$? = $ac_status" >&5
echo "$as_me:18834: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
......@@ -20860,11 +20861,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:20863: $lt_compile\"" >&5)
(eval echo "\"\$as_me:20864: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:20867: \$? = $ac_status" >&5
echo "$as_me:20868: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
......@@ -21103,11 +21104,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:21106: $lt_compile\"" >&5)
(eval echo "\"\$as_me:21107: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
echo "$as_me:21110: \$? = $ac_status" >&5
echo "$as_me:21111: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings
......@@ -21163,11 +21164,11 @@ else
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
(eval echo "\"\$as_me:21166: $lt_compile\"" >&5)
(eval echo "\"\$as_me:21167: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
echo "$as_me:21170: \$? = $ac_status" >&5
echo "$as_me:21171: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
......@@ -23311,7 +23312,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 23314 "configure"
#line 23315 "configure"
#include "confdefs.h"
 
#if HAVE_DLFCN_H
......@@ -23409,7 +23410,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<EOF
#line 23412 "configure"
#line 23413 "configure"
#include "confdefs.h"
 
#if HAVE_DLFCN_H
......@@ -29560,13 +29561,33 @@ fi
 
 
#
# Look for Docbook-XSL stylesheets. Location probably varies by
# system. Guessing where it might be found, based on where SGML stuff
# lives on some systems. FreeBSD is the only one I'm sure of at the
# moment.
# Look for Docbook-XSL stylesheets. Location probably varies by system.
# If it's not explicitly specified, guess where it might be found, based on
# where SGML stuff lives on some systems (FreeBSD is the only one we're sure
# of at the moment).
#
{ echo "$as_me:$LINENO: checking for Docbook-XSL path" >&5
echo $ECHO_N "checking for Docbook-XSL path... $ECHO_C" >&6; }
 
docbook_xsl_trees="/usr/pkg/share/xsl /usr/local/share/xsl /usr/share/xsl"
# Check whether --with-docbook-xsl was given.
if test "${with_docbook_xsl+set}" = set; then
withval=$with_docbook_xsl; docbook_path="$withval"
else
docbook_path="auto"
fi
case "$docbook_path" in
auto)
{ echo "$as_me:$LINENO: result: auto" >&5
echo "${ECHO_T}auto" >&6; }
docbook_xsl_trees="/usr/pkg/share/xsl/dockbook /usr/local/share/xsl/dockbook /usr/share/xsl/dockbook"
;;
*)
docbook_xsl_trees="$withval"
{ echo "$as_me:$LINENO: result: $docbook_xsl_trees" >&5
echo "${ECHO_T}$docbook_xsl_trees" >&6; }
;;
esac
 
#
# Look for stylesheets we need.
......@@ -29574,11 +29595,11 @@ docbook_xsl_trees="/usr/pkg/share/xsl /usr/local/share/xsl /usr/share/xsl"
 
 
XSLT_DOCBOOK_STYLE_HTML=""
{ echo "$as_me:$LINENO: checking for docbook/html/docbook.xsl" >&5
echo $ECHO_N "checking for docbook/html/docbook.xsl... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: checking for html/docbook.xsl" >&5
echo $ECHO_N "checking for html/docbook.xsl... $ECHO_C" >&6; }
for d in $docbook_xsl_trees
do
f=$d/docbook/html/docbook.xsl
f=$d/html/docbook.xsl
if test -f $f
then
XSLT_DOCBOOK_STYLE_HTML=$f
......@@ -29591,17 +29612,17 @@ if test "X$XSLT_DOCBOOK_STYLE_HTML" = "X"
then
{ echo "$as_me:$LINENO: result: \"not found\"" >&5
echo "${ECHO_T}\"not found\"" >&6; };
XSLT_DOCBOOK_STYLE_HTML=docbook/html/docbook.xsl
XSLT_DOCBOOK_STYLE_HTML=html/docbook.xsl
fi
 
 
 
XSLT_DOCBOOK_STYLE_XHTML=""
{ echo "$as_me:$LINENO: checking for docbook/xhtml/docbook.xsl" >&5
echo $ECHO_N "checking for docbook/xhtml/docbook.xsl... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: checking for xhtml/docbook.xsl" >&5
echo $ECHO_N "checking for xhtml/docbook.xsl... $ECHO_C" >&6; }
for d in $docbook_xsl_trees
do
f=$d/docbook/xhtml/docbook.xsl
f=$d/xhtml/docbook.xsl
if test -f $f
then
XSLT_DOCBOOK_STYLE_XHTML=$f
......@@ -29614,17 +29635,17 @@ if test "X$XSLT_DOCBOOK_STYLE_XHTML" = "X"
then
{ echo "$as_me:$LINENO: result: \"not found\"" >&5
echo "${ECHO_T}\"not found\"" >&6; };
XSLT_DOCBOOK_STYLE_XHTML=docbook/xhtml/docbook.xsl
XSLT_DOCBOOK_STYLE_XHTML=xhtml/docbook.xsl
fi
 
 
 
XSLT_DOCBOOK_STYLE_MAN=""
{ echo "$as_me:$LINENO: checking for docbook/manpages/docbook.xsl" >&5
echo $ECHO_N "checking for docbook/manpages/docbook.xsl... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: checking for manpages/docbook.xsl" >&5
echo $ECHO_N "checking for manpages/docbook.xsl... $ECHO_C" >&6; }
for d in $docbook_xsl_trees
do
f=$d/docbook/manpages/docbook.xsl
f=$d/manpages/docbook.xsl
if test -f $f
then
XSLT_DOCBOOK_STYLE_MAN=$f
......@@ -29637,17 +29658,17 @@ if test "X$XSLT_DOCBOOK_STYLE_MAN" = "X"
then
{ echo "$as_me:$LINENO: result: \"not found\"" >&5
echo "${ECHO_T}\"not found\"" >&6; };
XSLT_DOCBOOK_STYLE_MAN=docbook/manpages/docbook.xsl
XSLT_DOCBOOK_STYLE_MAN=manpages/docbook.xsl
fi
 
 
 
XSLT_DOCBOOK_CHUNK_HTML=""
{ echo "$as_me:$LINENO: checking for docbook/html/chunk.xsl" >&5
echo $ECHO_N "checking for docbook/html/chunk.xsl... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: checking for html/chunk.xsl" >&5
echo $ECHO_N "checking for html/chunk.xsl... $ECHO_C" >&6; }
for d in $docbook_xsl_trees
do
f=$d/docbook/html/chunk.xsl
f=$d/html/chunk.xsl
if test -f $f
then
XSLT_DOCBOOK_CHUNK_HTML=$f
......@@ -29660,17 +29681,17 @@ if test "X$XSLT_DOCBOOK_CHUNK_HTML" = "X"
then
{ echo "$as_me:$LINENO: result: \"not found\"" >&5
echo "${ECHO_T}\"not found\"" >&6; };
XSLT_DOCBOOK_CHUNK_HTML=docbook/html/chunk.xsl
XSLT_DOCBOOK_CHUNK_HTML=html/chunk.xsl
fi
 
 
 
XSLT_DOCBOOK_CHUNK_XHTML=""
{ echo "$as_me:$LINENO: checking for docbook/xhtml/chunk.xsl" >&5
echo $ECHO_N "checking for docbook/xhtml/chunk.xsl... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: checking for xhtml/chunk.xsl" >&5
echo $ECHO_N "checking for xhtml/chunk.xsl... $ECHO_C" >&6; }
for d in $docbook_xsl_trees
do
f=$d/docbook/xhtml/chunk.xsl
f=$d/xhtml/chunk.xsl
if test -f $f
then
XSLT_DOCBOOK_CHUNK_XHTML=$f
......@@ -29683,17 +29704,17 @@ if test "X$XSLT_DOCBOOK_CHUNK_XHTML" = "X"
then
{ echo "$as_me:$LINENO: result: \"not found\"" >&5
echo "${ECHO_T}\"not found\"" >&6; };
XSLT_DOCBOOK_CHUNK_XHTML=docbook/xhtml/chunk.xsl
XSLT_DOCBOOK_CHUNK_XHTML=xhtml/chunk.xsl
fi
 
 
 
XSLT_DOCBOOK_CHUNKTOC_HTML=""
{ echo "$as_me:$LINENO: checking for docbook/html/chunktoc.xsl" >&5
echo $ECHO_N "checking for docbook/html/chunktoc.xsl... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: checking for html/chunktoc.xsl" >&5
echo $ECHO_N "checking for html/chunktoc.xsl... $ECHO_C" >&6; }
for d in $docbook_xsl_trees
do
f=$d/docbook/html/chunktoc.xsl
f=$d/html/chunktoc.xsl
if test -f $f
then
XSLT_DOCBOOK_CHUNKTOC_HTML=$f
......@@ -29706,17 +29727,17 @@ if test "X$XSLT_DOCBOOK_CHUNKTOC_HTML" = "X"
then
{ echo "$as_me:$LINENO: result: \"not found\"" >&5
echo "${ECHO_T}\"not found\"" >&6; };
XSLT_DOCBOOK_CHUNKTOC_HTML=docbook/html/chunktoc.xsl
XSLT_DOCBOOK_CHUNKTOC_HTML=html/chunktoc.xsl
fi
 
 
 
XSLT_DOCBOOK_CHUNKTOC_XHTML=""
{ echo "$as_me:$LINENO: checking for docbook/xhtml/chunktoc.xsl" >&5
echo $ECHO_N "checking for docbook/xhtml/chunktoc.xsl... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: checking for xhtml/chunktoc.xsl" >&5
echo $ECHO_N "checking for xhtml/chunktoc.xsl... $ECHO_C" >&6; }
for d in $docbook_xsl_trees
do
f=$d/docbook/xhtml/chunktoc.xsl
f=$d/xhtml/chunktoc.xsl
if test -f $f
then
XSLT_DOCBOOK_CHUNKTOC_XHTML=$f
......@@ -29729,17 +29750,17 @@ if test "X$XSLT_DOCBOOK_CHUNKTOC_XHTML" = "X"
then
{ echo "$as_me:$LINENO: result: \"not found\"" >&5
echo "${ECHO_T}\"not found\"" >&6; };
XSLT_DOCBOOK_CHUNKTOC_XHTML=docbook/xhtml/chunktoc.xsl
XSLT_DOCBOOK_CHUNKTOC_XHTML=xhtml/chunktoc.xsl
fi
 
 
 
XSLT_DOCBOOK_MAKETOC_HTML=""
{ echo "$as_me:$LINENO: checking for docbook/html/maketoc.xsl" >&5
echo $ECHO_N "checking for docbook/html/maketoc.xsl... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: checking for html/maketoc.xsl" >&5
echo $ECHO_N "checking for html/maketoc.xsl... $ECHO_C" >&6; }
for d in $docbook_xsl_trees
do
f=$d/docbook/html/maketoc.xsl
f=$d/html/maketoc.xsl
if test -f $f
then
XSLT_DOCBOOK_MAKETOC_HTML=$f
......@@ -29752,17 +29773,17 @@ if test "X$XSLT_DOCBOOK_MAKETOC_HTML" = "X"
then
{ echo "$as_me:$LINENO: result: \"not found\"" >&5
echo "${ECHO_T}\"not found\"" >&6; };
XSLT_DOCBOOK_MAKETOC_HTML=docbook/html/maketoc.xsl
XSLT_DOCBOOK_MAKETOC_HTML=html/maketoc.xsl
fi
 
 
 
XSLT_DOCBOOK_MAKETOC_XHTML=""
{ echo "$as_me:$LINENO: checking for docbook/xhtml/maketoc.xsl" >&5
echo $ECHO_N "checking for docbook/xhtml/maketoc.xsl... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: checking for xhtml/maketoc.xsl" >&5
echo $ECHO_N "checking for xhtml/maketoc.xsl... $ECHO_C" >&6; }
for d in $docbook_xsl_trees
do
f=$d/docbook/xhtml/maketoc.xsl
f=$d/xhtml/maketoc.xsl
if test -f $f
then
XSLT_DOCBOOK_MAKETOC_XHTML=$f
......@@ -29775,7 +29796,7 @@ if test "X$XSLT_DOCBOOK_MAKETOC_XHTML" = "X"
then
{ echo "$as_me:$LINENO: result: \"not found\"" >&5
echo "${ECHO_T}\"not found\"" >&6; };
XSLT_DOCBOOK_MAKETOC_XHTML=docbook/xhtml/maketoc.xsl
XSLT_DOCBOOK_MAKETOC_XHTML=xhtml/maketoc.xsl
fi
 
 
......
......@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(1)dnl
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl
AC_REVISION($Revision: 1.434 $)
AC_REVISION($Revision: 1.435 $)
AC_INIT(lib/dns/name.c)
AC_PREREQ(2.59)
......@@ -2349,27 +2349,39 @@ AC_SUBST($1)
])
#
# Look for Docbook-XSL stylesheets. Location probably varies by
# system. Guessing where it might be found, based on where SGML stuff
# lives on some systems. FreeBSD is the only one I'm sure of at the
# moment.
# Look for Docbook-XSL stylesheets. Location probably varies by system.
# If it's not explicitly specified, guess where it might be found, based on
# where SGML stuff lives on some systems (FreeBSD is the only one we're sure
# of at the moment).
#
docbook_xsl_trees="/usr/pkg/share/xsl /usr/local/share/xsl /usr/share/xsl"
AC_MSG_CHECKING(for Docbook-XSL path)
AC_ARG_WITH(docbook-xsl,
[ --with-docbook-xsl=PATH Specify path for Docbook-XSL stylesheets],
docbook_path="$withval", docbook_path="auto")
case "$docbook_path" in
auto)
AC_MSG_RESULT(auto)
docbook_xsl_trees="/usr/pkg/share/xsl/dockbook /usr/local/share/xsl/dockbook /usr/share/xsl/dockbook"
;;
*)
docbook_xsl_trees="$withval"
AC_MSG_RESULT($docbook_xsl_trees)
;;
esac
#
# Look for stylesheets we need.
#
NOM_PATH_FILE(XSLT_DOCBOOK_STYLE_HTML, docbook/html/docbook.xsl, $docbook_xsl_trees)
NOM_PATH_FILE(XSLT_DOCBOOK_STYLE_XHTML, docbook/xhtml/docbook.xsl, $docbook_xsl_trees)
NOM_PATH_FILE(XSLT_DOCBOOK_STYLE_MAN, docbook/manpages/docbook.xsl, $docbook_xsl_trees)
NOM_PATH_FILE(XSLT_DOCBOOK_CHUNK_HTML, docbook/html/chunk.xsl, $docbook_xsl_trees)
NOM_PATH_FILE(XSLT_DOCBOOK_CHUNK_XHTML, docbook/xhtml/chunk.xsl, $docbook_xsl_trees)
NOM_PATH_FILE(XSLT_DOCBOOK_CHUNKTOC_HTML, docbook/html/chunktoc.xsl, $docbook_xsl_trees)
NOM_PATH_FILE(XSLT_DOCBOOK_CHUNKTOC_XHTML, docbook/xhtml/chunktoc.xsl, $docbook_xsl_trees)
NOM_PATH_FILE(XSLT_DOCBOOK_MAKETOC_HTML, docbook/html/maketoc.xsl, $docbook_xsl_trees)
NOM_PATH_FILE(XSLT_DOCBOOK_MAKETOC_XHTML, docbook/xhtml/maketoc.xsl, $docbook_xsl_trees)
NOM_PATH_FILE(XSLT_DOCBOOK_STYLE_HTML, html/docbook.xsl, $docbook_xsl_trees)
NOM_PATH_FILE(XSLT_DOCBOOK_STYLE_XHTML, xhtml/docbook.xsl, $docbook_xsl_trees)
NOM_PATH_FILE(XSLT_DOCBOOK_STYLE_MAN, manpages/docbook.xsl, $docbook_xsl_trees)
NOM_PATH_FILE(XSLT_DOCBOOK_CHUNK_HTML, html/chunk.xsl, $docbook_xsl_trees)
NOM_PATH_FILE(XSLT_DOCBOOK_CHUNK_XHTML, xhtml/chunk.xsl, $docbook_xsl_trees)
NOM_PATH_FILE(XSLT_DOCBOOK_CHUNKTOC_HTML, html/chunktoc.xsl, $docbook_xsl_trees)
NOM_PATH_FILE(XSLT_DOCBOOK_CHUNKTOC_XHTML, xhtml/chunktoc.xsl, $docbook_xsl_trees)
NOM_PATH_FILE(XSLT_DOCBOOK_MAKETOC_HTML, html/maketoc.xsl, $docbook_xsl_trees)
NOM_PATH_FILE(XSLT_DOCBOOK_MAKETOC_XHTML, xhtml/maketoc.xsl, $docbook_xsl_trees)
#
# Same dance for db2latex
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment