3 test -d config || mkdir config
4 if test -d m4/.git -a -d doc/common/.git; then
11 if automake --version|head -1 |grep '1\.[4-7]'; then
12 echo "automake 1.4-1.7 is active. You should use automake 1.8 or later"
13 if test -f /etc/debian_version; then
14 echo " sudo apt-get install automake1.9"
15 echo " sudo update-alternatives --config automake"
21 # I am tired of underquoted warnings for Tcl macros
22 aclocal -I m4 2>&1 | grep -v aclocal/tcl.m4
23 libtoolize --automake --force
24 automake --add-missing
27 if [ -f config.cache ]; then
31 enable_configure=false
50 if $enable_configure; then
51 if test -n "$sh_flags"; then
52 CFLAGS="$sh_flags" CXXFLAGS="$sh_flags" ./configure --disable-shared --enable-static $*
60 Build the Makefiles with the configure command.
61 ./configure [--someoption=somevalue ...]
63 For help on options or configuring run
66 Build and install binaries with the usual
71 Build distribution tarball with
74 Verify distribution tarball with
77 Or just build the Debian packages without configuring
78 dpkg-buildpackage -rfakeroot
80 When building from a CVS checkout, you need these Debian tools:
81 autoconf, automake, libtool, gcc, g++, libyaz-dev,
82 xsltproc, docbook, docbook-xml, docbook-xsl, make,
83 libssl-dev, libreadline5-dev, g++