9 test -d config || mkdir config
11 if test -d m4/.git -a -d doc/common/.git; then
19 if [ "`uname -s`" = FreeBSD ]; then
20 # FreeBSD intalls the various auto* tools with version numbers
21 echo "Using special configuration for FreeBSD ..."
23 aclocal="aclocal19 -I /usr/local/share/aclocal"
25 libtoolize=libtoolize15
26 autoheader=autoheader259
28 if $automake --version|head -1 |grep '1\.[4-7]'; then
29 echo "automake 1.4-1.7 is active. You should use automake 1.8 or later"
30 if test -f /etc/debian_version; then
31 echo " sudo apt-get install automake1.9"
32 echo " sudo update-alternatives --config automake"
39 # I am tired of underquoted warnings for Tcl macros
40 $aclocal -I m4 2>&1 | grep -v aclocal/tcl.m4
42 $libtoolize --automake --force
43 $automake --add-missing
46 if [ -f config.cache ]; then
50 enable_configure=false
69 if $enable_configure; then
70 if test -n "$sh_flags"; then
71 CXXFLAGS="$sh_flags" ./configure --disable-shared --enable-static $*
79 Build the Makefiles with the configure command.
80 ./configure [--someoption=somevalue ...]
82 For help on options or configuring run
85 Build and install binaries with the usual
90 Build distribution tarball with
93 Verify distribution tarball with
96 Or just build the Debian packages without configuring
97 dpkg-buildpackage -rfakeroot
99 When building from a CVS checkout, you need these Debian tools:
100 autoconf, automake, libtool, gcc, g++, make,
101 xsltproc, docbook, docbook-xml, docbook-xsl, trang,
102 libxslt1-dev, libyazpp-dev,
103 libboost-thread-dev, libboost-test-dev
104 and for the image-processing needed to build the documentation: