[ZF-10089] Zend_Log
[zend.git] / documentation / manual / zh / configure.in
blob6d0ceae22cd0beeef78db9993c00389dc01263a9
1 AC_INIT(Makefile.in)
2 AC_COPYRIGHT([Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)])
4 FOP=fop
5 XSLTPROC=xsltproc
6 XMLLINT=xmllint
8 AC_ARG_WITH(fop, [  --with-fop  Where to find Apache FOP],
9         [
10                 if test "x$withval" != "xno"; then
11                         FOP="$withval"
12                 fi
13         ]
15 AC_PATH_PROG(FOP,  $FOP)
17 AC_ARG_WITH(xsltproc, [  --with-xsltproc  Where to find xsltproc],
18         [
19                 if test "x$withval" != "xno"; then
20                         XSLTPROC="$withval"
21                 fi
22         ]
24 AC_PATH_PROG(XSLTPROC,  $XSLTPROC)
26 AC_ARG_WITH(xmllint, [  --with-xmllint  Where to find xmllint],
27         [
28                 if test "x$withval" != "xno"; then
29                         XMLLINT="$withval"
30                 fi
31         ]
33 AC_PATH_PROG(XMLLINT,  $XMLLINT)
35 ECSRC=../trunk
36 AC_ARG_WITH(ecsrc, [  --with-ecsrc  Where to find the ecelerity source],
37         [
38                 if test "x$withval" != "xno"; then
39                         ECSRC="$withval"
40                 fi
41         ]
44 AC_SUBST(FOP)
45 AC_SUBST(XSLTPROC)
46 AC_SUBST(XMLLINT)
47 AC_SUBST(ECSRC)
48 HERE=`pwd`
49 AC_SUBST(HERE)
50 AC_CONFIG_FILES([Makefile])
51 AC_OUTPUT
53 cat > config.nice <<EOT
54 #!/bin/sh
55 ./configure \
56     --with-ecsrc='$ECSRC' \
57     --with-xsltproc='$XSLTPROC' \
58     --with-xmllint='$XMLLINT' \
59     --with-fop='$FOP'
61 EOT
62 chmod +x config.nice