2 # $Id: buildconf.sh,v 1.11 2006-05-27 08:07:08 adam Exp $
4 if automake --version|head -1 |grep '1\.[4-7]'; then
5 echo "automake 1.4-1.7 is active. You should use automake 1.8 or later"
6 if test -f /etc/debian_version; then
7 echo " sudo apt-get install automake1.9"
8 echo " sudo update-alternatives --config automake"
15 # I am tired of underquoted warnings for Tcl macros
16 aclocal -I m4 2>&1 | grep -v aclocal/tcl.m4
18 libtoolize --automake --force
19 automake --add-missing
22 if [ -f config.cache ]; then
26 enable_configure=false
45 if $enable_configure; then
46 if test -n "$sh_flags"; then
47 CXXFLAGS="$sh_flags" ./configure --disable-shared --enable-static $*
55 Build the Makefiles with the configure command.
56 ./configure [--someoption=somevalue ...]
58 For help on options or configuring run
61 Build and install binaries with the usual
66 Build distribution tarball with
69 Verify distribution tarball with
72 Or just build the Debian packages without configuring
73 dpkg-buildpackage -rfakeroot
75 When building from a CVS checkout, you need these Debian tools:
76 autoconf, automake, libtool, gcc, g++, make,
77 xsltproc, docbook, docbook-xml, docbook-xsl,
78 libxslt1-dev, libyazpp-dev,
79 libboost-thread-dev, libboost-date-time-dev,
80 libboost-program-options-dev, libboost-test-dev
81 and for the image-processing needed to build the documentation: