cvs: peardoc / configure.in shortcuts-defs.ent.in

From: Date: Sun, 19 Feb 2006 11:16:13 +0000
Subject: cvs: peardoc / configure.in shortcuts-defs.ent.in
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-7579@lists.php.net to get a copy of this message
alexmerz Sun Feb 19 11:16:13 2006 UTC Modified files: /peardoc configure.in shortcuts-defs.ent.in Log: add enable/disable blankpagehack feature http://cvs.php.net/viewcvs.cgi/peardoc/configure.in?r1=1.25&r2=1.26&diff_format=u Index: peardoc/configure.in diff -u peardoc/configure.in:1.25 peardoc/configure.in:1.26 --- peardoc/configure.in:1.25 Sat Dec 24 09:43:02 2005 +++ peardoc/configure.in Sun Feb 19 11:16:13 2006 @@ -1,11 +1,11 @@ -dnl $Id: configure.in,v 1.25 2005/12/24 09:43:02 techtonik Exp $ +dnl $Id: configure.in,v 1.26 2006/02/19 11:16:13 alexmerz Exp $ dnl peardoc autoconf initialisation AC_INIT(global.ent) dnl {{{ check for PHP -dnl use given argument, if any, else search in path +dnl use given argument, if any, else search in path AC_ARG_WITH(php, [ --with-php=PATH look for PHP executable needed for helper scripts], [ @@ -29,7 +29,7 @@ AC_MSG_CHECKING([for php]) PHP=echo $PHP_PEAR_BIN_DIR/cli/php | tr '\\\\' '/' AC_MSG_RESULT($PHP) - else + else AC_PATH_PROGS(PHP,"php php4",no) fi fi @@ -179,7 +179,7 @@ dnl if test -n "$DBDT" ; then dnl DOCBOOK_DOCTYPE=$DBDT dnl return 1 -dnl fi +dnl fi dnl MORECATS=grep -i '^catalog' $catalog 2>/dev/null | cut -d'"' -f 2 dnl if test -n "$MORECATS" ; then dnl if check_catalog_files $MORECATS ; then @@ -325,7 +325,7 @@ then CATALOG="$CATALOG -c /var/lib/sgml/CATALOG.docbook_4" fi - dnl this file needs to be created manually with exactly + 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 @@ -342,7 +342,7 @@ AC_MSG_WARN(from:) AC_MSG_WARN() AC_MSG_WARN(http://www.appelsiini.net/~tuupola/php/download/CATALOG.iso_ent) - else + else AC_MSG_RESULT(ok) fi fi @@ -373,7 +373,7 @@ DOCBOOKXSL_HTML=$dir/html/chunk.xsl DOCBOOKXSL_HTMLHELP=$dir/htmlhelp/htmlhelp.xsl AC_MSG_RESULT(autodetected: $dir) - + break fi done @@ -397,12 +397,12 @@ AC_MSG_RESULT() AC_MSG_ERROR(Language \"$withval\" not supported!) fi - + dnl day/month/year PEAR_BUILD_DATE=date '+%d-%m-%Y' AC_SUBST(PEAR_BUILD_DATE) - if test "$withval" = "ja"; then + if test "$withval" = "ja"; then PEAR_BUILD_DATE=date '+%Y-%m-%d' AC_SUBST(PEAR_BUILD_DATE) fi @@ -420,6 +420,21 @@ AC_SUBST(LANGDIR) AC_SUBST(PEAR_BUILD_DATE) +AC_MSG_CHECKING(for blankpage hack) +AC_ARG_ENABLE(blankpagehack, +[ --disable-blankpagehack Disables the blankpage hack, recommended for non-HTML output +], +[ +if test $enableval = yes; then + BLANKPAGEHACK="<sect1><title/><simpara/></sect1>" +else + BLANKPAGEHACK="" +fi +],[ + BLANKPAGEHACK="<sect1><title/><simpara/></sect1>" +]) +AC_SUBST(BLANKPAGEHACK) + MANUAL="pear_manual_$LANG" AC_SUBST(MANUAL) @@ -478,7 +493,7 @@ ;; KOI8-R) SP_OPTIONS="SP_ENCODING=KOI8-R SP_CHARSET_FIXED=YES" - ;; + ;; esac AC_SUBST(SP_OPTIONS) http://cvs.php.net/viewcvs.cgi/peardoc/shortcuts-defs.ent.in?r1=1.4&r2=1.5&diff_format=u Index: peardoc/shortcuts-defs.ent.in diff -u peardoc/shortcuts-defs.ent.in:1.4 peardoc/shortcuts-defs.ent.in:1.5 --- peardoc/shortcuts-defs.ent.in:1.4 Fri Feb 17 15:20:15 2006 +++ peardoc/shortcuts-defs.ent.in Sun Feb 19 11:16:13 2006 @@ -1,8 +1,8 @@ -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!ENTITY class.pear '<link linkend="core.pear.pear"><classname>PEAR</classname></link>'> <!ENTITY class.pear-error '<link linkend="core.pear.pear-error"><classname>PEAR_Error</classname></link>'> -<!ENTITY blankpagehack '<sect1><title/><simpara/></sect1>'> +<!ENTITY blankpagehack '@BLANKPAGEHACK@'> <!ENTITY % shortcuts-defs-db SYSTEM "@srcdir@/@LANGDIR@/package/database/db/db.ent"> <!ENTITY % shortcuts-defs-mdb SYSTEM "@srcdir@/@LANGDIR@/package/database/mdb/mdb.ent">

« previous php.pear.doc (#7579) next »