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