cvs: peardoc / configure.in
| From: | Mika Tuupola | Date: | Fri, 18 Mar 2005 11:04:26 +0000 |
| Subject: | cvs: peardoc / configure.in | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-5690@lists.php.net to get a copy of this message | ||
tuupola Fri Mar 18 06:04:26 2005 EDT
Modified files:
/peardoc configure.in
Log:
* Find dsssl style-sheet.dtd when using Solaris 10
# Did not test this on Linux but should not break anything.
http://cvs.php.net/diff.php/peardoc/configure.in?r1=1.15&r2=1.16&ty=u
Index: peardoc/configure.in
diff -u peardoc/configure.in:1.15 peardoc/configure.in:1.16
--- peardoc/configure.in:1.15 Mon Mar 14 05:38:27 2005
+++ peardoc/configure.in Fri Mar 18 06:04:23 2005
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.15 2005/03/14 10:38:27 mj Exp $
+dnl $Id: configure.in,v 1.16 2005/03/18 11:04:23 tuupola Exp $
dnl peardoc autoconf initialisation
AC_INIT(global.ent)
@@ -340,11 +340,20 @@
dnl Do something smart to find catalog-files
CATALOG=""
-dnl SuSE 6.2/6.3 need this
-if test -e /usr/share/sgml/CATALOG.docbk30
-then
- CATALOG="$CATALOG -c /usr/share/sgml/CATALOG.docbk30"
-fi
+case
uname in
+ dnl SuSE 6.2/6.3 need this
+ Linux) if test -e /usr/share/sgml/CATALOG.docbk30
+ then
+ 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
+ then
+ CATALOG="$CATALOG -c /usr/sfw/share/sgml/openjade/catalog"
+ fi
+ ;;
+esac
dnl For windows (and maybe *nix too?) users lacking catalog-files