[MANUAL] English:
[zend.git] / documentation / manual / ro / configure.in
blob4ae1da8443cd52012616a95d636e1ce4dee03527
1 AC_INIT(Makefile.in)
2 AC_COPYRIGHT([Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)])
4 XINC=xinc
5 XEP=xep
6 FOP=fop
7 XSLTPROC=xsltproc
8 XMLLINT=xmllint
10 AC_ARG_WITH(xep, [  --with-xep   Where to find RenderX XEP],
11         [
12                 if test "x$withval" != "xno"; then
13                         XEP="$withval"
14                 fi
15         ]
17 AC_PATH_PROG(XEP,  $XEP)
19 AC_ARG_WITH(xinc, [  --with-xinc  Where to find lunasil XINC],
20         [
21                 if test "x$withval" != "xno"; then
22                         XINC="$withval"
23                 fi
24         ]
26 AC_PATH_PROG(XINC, $XINC)
28 AC_ARG_WITH(fop, [  --with-fop  Where to find Apache FOP],
29         [
30                 if test "x$withval" != "xno"; then
31                         FOP="$withval"
32                 fi
33         ]
35 AC_PATH_PROG(FOP,  $FOP)
37 AC_ARG_WITH(xsltproc, [  --with-xsltproc  Where to find xsltproc],
38         [
39                 if test "x$withval" != "xno"; then
40                         XSLTPROC="$withval"
41                 fi
42         ]
44 AC_PATH_PROG(XSLTPROC,  $XSLTPROC)
46 AC_ARG_WITH(xmllint, [  --with-xmllint  Where to find xmllint],
47         [
48                 if test "x$withval" != "xno"; then
49                         XMLLINT="$withval"
50                 fi
51         ]
53 AC_PATH_PROG(XMLLINT,  $XMLLINT)
55 ECSRC=../trunk
56 AC_ARG_WITH(ecsrc, [  --with-ecsrc  Where to find the ecelerity source],
57         [
58                 if test "x$withval" != "xno"; then
59                         ECSRC="$withval"
60                 fi
61         ]
64 AC_SUBST(XINC)
65 AC_SUBST(XEP)
66 AC_SUBST(FOP)
67 AC_SUBST(XSLTPROC)
68 AC_SUBST(XMLLINT)
69 AC_SUBST(ECSRC)
70 HERE=`pwd`
71 AC_SUBST(HERE)
72 AC_CONFIG_FILES([Makefile])
73 AC_OUTPUT
75 cat > config.nice <<EOT
76 #!/bin/sh
77 ./configure \
78     --with-ecsrc='$ECSRC' \
79     --with-xsltproc='$XSLTPROC' \
80     --with-xmllint='$XMLLINT' \
81     --with-fop='$FOP' \
82     --with-xinc='$XINC' \
83     --with-xep='$XEP'
85 EOT
86 chmod +x config.nice