2 # $Id: buildconf.sh,v 1.30 2006-05-22 12:11:45 mike Exp $
8 if [ "`uname -s`" = FreeBSD ]; then
9 # FreeBSD intalls the various auto* tools with version numbers
10 echo "Using special configuation for FreeBSD ..."
12 aclocal="aclocal19 -I /usr/local/share/aclocal"
16 if $automake --version|head -1 |grep '1\.[4-7]'; then
17 echo "automake 1.4-1.7 is active. You should use automake 1.8 or later"
18 if test -f /etc/debian_version; then
19 echo " sudo apt-get install automake1.9"
20 echo " sudo update-alternatives --config automake"
26 # I am tired of underquoted warnings for Tcl macros
27 $aclocal -I m4 2>&1 | grep -v "warning: underquoted definition"
28 libtoolize --automake --force
29 $automake --add-missing
32 if [ -f config.cache ]; then
36 enable_configure=false
42 sh_flags="-g -Wall -Wdeclaration-after-statement"
55 if $enable_configure; then
56 if test -n "$sh_flags"; then
57 CFLAGS="$sh_flags" ./configure $*
65 Build the Makefiles with the configure command.
66 ./configure [--someoption=somevalue ...]
68 For help on options or configuring run
71 Build and install binaries with the usual
76 Build distribution tarball with
79 Verify distribution tarball with
82 Or just build the Debian packages without configuring
83 dpkg-buildpackage -rfakeroot
85 When building from a CVS checkout, you need these Debian tools:
86 autoconf, automake, bison, gcc, libtool,
87 docbook-utils, docbook, docbook-xml, docbook-dsssl, jade, jadetex,
88 libxslt1-dev, libssl-dev, libreadline5-dev, libwrap0-dev, any tcl