2 # $Id: buildconf.sh,v 1.14 2006-03-30 16:36:12 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"
14 # I am tired of underquoted warnings for Tcl macros
15 aclocal -I m4 2>&1 | grep -v aclocal/tcl.m4
16 libtoolize --automake --force
17 automake --add-missing
20 if [ -f config.cache ]; then
24 enable_configure=false
43 if $enable_configure; then
44 if test -n "$sh_flags"; then
45 CFLAGS="$sh_flags" CXXFLAGS="$sh_flags" ./configure $*
53 Build the Makefiles with the configure command.
54 ./configure [--someoption=somevalue ...]
56 For help on options or configuring run
59 Build and install binaries with the usual
64 Build distribution tarball with
67 Verify distribution tarball with
70 Or just build the Debian packages without configuring
71 dpkg-buildpackage -rfakeroot
73 When building from a CVS checkout, you need these Debian tools:
74 autoconf, automake, libtool, gcc, libyaz-dev, docbook-utils, docbook,
75 docbook-xml, docbook-dsssl, jade, jadetex, libxml2-dev,
76 libssl-dev, libreadline5-dev