cvs: peardoc / configure.in
| From: | Mika Tuupola | Date: | Fri, 18 Mar 2005 13:01:36 +0000 |
| Subject: | cvs: peardoc / configure.in | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-5691@lists.php.net to get a copy of this message | ||
tuupola Fri Mar 18 08:01:36 2005 EDT
Modified files:
/peardoc configure.in
Log:
* Solaris 10 has almost everything installed by default, but in
nonstardard places. Find the catalog files and warn about
possibly missing ISO entities.
# If someone thinks the warnings are overkill, you can remove them.
http://cvs.php.net/diff.php/peardoc/configure.in?r1=1.16&r2=1.17&ty=u
Index: peardoc/configure.in
diff -u peardoc/configure.in:1.16 peardoc/configure.in:1.17
--- peardoc/configure.in:1.16 Fri Mar 18 06:04:23 2005
+++ peardoc/configure.in Fri Mar 18 08:01:35 2005
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.16 2005/03/18 11:04:23 tuupola Exp $
+dnl $Id: configure.in,v 1.17 2005/03/18 13:01:35 tuupola Exp $
dnl peardoc autoconf initialisation
AC_INIT(global.ent)
@@ -347,10 +347,38 @@
CATALOG="$CATALOG -c /usr/share/sgml/CATALOG.docbk30"
fi
;;
- dnl Solaris 10 need this to find the DSSSL stylesheets
- SunOS) if test -e /usr/sfw/share/sgml/openjade/catalog
+ dnl Solaris 10 has almost everything installed by default, but
+ dnl in nonstandard paths
+ SunOS) if test
uname -r = "5.10"
then
- CATALOG="$CATALOG -c /usr/sfw/share/sgml/openjade/catalog"
+ if test -e /usr/sfw/share/sgml/openjade/catalog
+ then
+ CATALOG="$CATALOG -c /usr/sfw/share/sgml/openjade/catalog"
+ fi
+ if test -e /var/lib/sgml/CATALOG.docbook_4
+ then
+ CATALOG="$CATALOG -c /var/lib/sgml/CATALOG.docbook_4"
+ fi
+ dnl this file needs to be created manually with exactly
+ dnl this path since it is referenced in /usr/share/sgml/CATALOG.doc*
+ AC_MSG_CHECKING(for ISO 8879 entities)
+ if test ! -e /var/lib/sgml/CATALOG.iso_ent
+ then
+ AC_MSG_RESULT(not found)
+ AC_MSG_WARN(ISO 8879 entities are not included in Solaris 10)
+ AC_MSG_WARN(by default. You should download them from:)
+ AC_MSG_WARN()
+ AC_MSG_WARN(http://www.oasis-open.org/cover/ISOEnts.zip)
+ AC_MSG_WARN()
+ AC_MSG_WARN(and unzip them to /var/lib/sgml/entities/. You will)
+ AC_MSG_WARN(also need to create /var/lib/sgml/CATALOG.iso_ent )
+ AC_MSG_WARN(catalog file by hand. Alternatively download one )
+ AC_MSG_WARN(from:)
+ AC_MSG_WARN()
+ AC_MSG_WARN(http://www.appelsiini.net/~tuupola/php/download/CATALOG.iso_ent)
+ else
+ AC_MSG_RESULT(ok)
+ fi
fi
;;
esac