2 # $Id: buildconf.sh,v 1.9 2006-05-03 12:03:35 mike 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, docbook-utils, docbook, docbook-xml,
77 docbook-dsssl, jade, jadetex, libxslt1-dev, libyazpp1-dev,
78 libboost-thread-dev, libboost-date-time-dev,
79 libboost-program-options-dev, libboost-test-dev
80 and for the image-processing needed to build the documentation: