2 # $Id: buildconf.sh,v 1.11 2006-03-30 16:38:42 adam Exp $
3 if automake --version|head -1 |grep '1\.[4-7]'; then
4 echo "automake 1.4-1.7 is active. You should use automake 1.8 or later"
5 if test -f /etc/debian_version; then
6 echo " sudo apt-get install automake1.9"
7 echo " sudo update-alternatives --config automake"
13 # I am tired of underquoted warnings for Tcl macros
14 aclocal -I m4 2>&1 | grep -v aclocal/tcl.m4
15 libtoolize --automake --force
16 automake --add-missing
19 if [ -f config.cache ]; then
23 enable_configure=false
42 if $enable_configure; then
43 if test -n "$sh_flags"; then
44 CXXFLAGS="$sh_flags" ./configure --disable-shared --enable-static $*
52 Build the Makefiles with the configure command.
53 ./configure [--someoption=somevalue ...]
55 For help on options or configuring run
58 Build and install binaries with the usual
63 Build distribution tarball with
66 Verify distribution tarball with
69 Or just build the Debian packages without configuring
70 dpkg-buildpackage -rfakeroot
72 When building from a CVS checkout, you need these Debian tools:
73 autoconf, automake, libtool, gcc, docbook-utils, docbook, docbook-xml,
74 docbook-dsssl, jade, jadetex, libxslt1-dev, libyazpp1-dev