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