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