Commit 17656ff2 authored by sof's avatar sof
Browse files

[project @ 2002-02-13 19:42:38 by sof]

FPTOOLS_DOCBOOK_CATALOG: check whether the SGML_CATALOG_FILES env var is
defined. If it is, treat it as gospel.
parent 44c6f87f
dnl $Id: aclocal.m4,v 1.94 2002/02/13 11:51:40 simonmar Exp $ dnl $Id: aclocal.m4,v 1.95 2002/02/13 19:42:38 sof Exp $
dnl dnl
dnl Extra autoconf macros for the Glasgow fptools dnl Extra autoconf macros for the Glasgow fptools
dnl dnl
...@@ -1001,13 +1001,18 @@ Test. ...@@ -1001,13 +1001,18 @@ Test.
</Article> </Article>
EOF EOF
fptools_cv_sgml_catalog=no fptools_cv_sgml_catalog=no
for fptools_catalog in $4; do if test -z "$SGML_CATALOG_FILES" ; then
ac_try="$2 -t rtf -d $3#print -c $fptools_catalog conftest.sgml" for fptools_catalog in $4; do
if AC_TRY_EVAL(ac_try); then ac_try="$2 -t rtf -d $3#print -c $fptools_catalog conftest.sgml"
fptools_cv_sgml_catalog=[$]fptools_catalog if AC_TRY_EVAL(ac_try); then
break fptools_cv_sgml_catalog=[$]fptools_catalog
fi break
done fi
done
else
# If the env var SGML_CATALOG_FILES is defined, assume things are cool.
fptools_cv_sgml_catalog="yes"
fi
]) ])
rm -rf conftest* rm -rf conftest*
if test $fptools_cv_sgml_catalog != "no"; then if test $fptools_cv_sgml_catalog != "no"; then
......
...@@ -617,6 +617,9 @@ if test -z "$Catalog"; then ...@@ -617,6 +617,9 @@ if test -z "$Catalog"; then
AC_MSG_RESULT([Warning: You will not be able to build the documentation.]) AC_MSG_RESULT([Warning: You will not be able to build the documentation.])
fi fi
case $Catalog in case $Catalog in
yes) # assume it is provided by other means (e.g., SGML_CATALOG_FILES env var).
Catalog=
;;
glafp*) glafp*)
case $HostOS_CPP in case $HostOS_CPP in
mingw32) mingw32)
......
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