enable russian PDF builds

This commit is contained in:
nlopess
2004-08-12 14:52:37 +00:00
parent 0e06d3422b
commit e4a075bd03
15 changed files with 63 additions and 50 deletions
+3 -45
View File
@@ -171,48 +171,6 @@ AC_SUBST(NSGMLS)
dnl }}}
dnl {{{ check for xsltproc
AC_ARG_WITH(xsltproc,
[ --with-xsltproc=PATH look for xsltproc],
[
if test $withval != "yes"; then
AC_MSG_CHECKING([for xsltproc])
if test -x $withval -a -f $withval
then
XSLTPROC=$withval
AC_MSG_RESULT($XSLTPROC)
else
XSLTPROC=no
AC_MSG_RESULT(no)
AC_MSG_ERROR([$withval: not an executable file])
fi
else
if test -e ../../phpdoc-tools/libxml/xsltproc.exe ; then
AC_MSG_CHECKING([for xsltproc])
XSLTPROC=../../phpdoc-tools/libxml/xsltproc.exe
AC_MSG_RESULT($XSLTPROC)
else
AC_PATH_PROG(XSLTPROC,"xsltproc",no)
fi
fi
],[
if test -e ../../phpdoc-tools/libxml/xsltproc.exe ; then
AC_MSG_CHECKING([for xsltproc])
XSLTPROC=../../phpdoc-tools/libxml/xsltproc.exe
AC_MSG_RESULT($XSLTPROC)
else
AC_PATH_PROG(XSLTPROC,"xsltproc",no)
fi
]
)
if test $XSLTPROC = "no"; then
AC_MSG_WARN([no xsltproc binary found, XSL Transformations won't work])
fi
AC_SUBST(XSLTPROC)
dnl }}}
dnl {{{ check for FOP
AC_ARG_WITH(fop,
@@ -251,8 +209,6 @@ AC_ARG_WITH(fop,
if test $FOP = "no"; then
AC_MSG_WARN([no fop binary found, PDF generation won't work])
fi
AC_SUBST(FOP)
dnl }}}
dnl {{{ check for xmllint
@@ -375,11 +331,13 @@ AC_SUBST(LANG)
AC_SUBST(BUILD_DATE)
case "$LANG" in
ru) ENCODING="windows-1251";;
ru) ENCODING="windows-1251"
FOP="$FOP -c fop/ru.cfg";;
*) ENCODING="ISO-8859-1";;
esac
AC_SUBST(ENCODING)
AC_SUBST(FOP)
dnl }}}