2 # $Id: buildconf.sh,v 1.1 2007-01-08 12:43:41 adam Exp $
10 if [ "`uname -s`" = FreeBSD ]; then
11 # FreeBSD intalls the various auto* tools with version numbers
12 echo "Using special configuration for FreeBSD ..."
14 aclocal="aclocal19 -I /usr/local/share/aclocal"
16 libtoolize=libtoolize15
17 autoheader=autoheader259
19 if $automake --version|head -1 |grep '1\.[4-7]'; then
20 echo "automake 1.4-1.7 is active. You should use automake 1.8 or later"
21 if test -f /etc/debian_version; then
22 echo " sudo apt-get install automake1.9"
23 echo " sudo update-alternatives --config automake"
30 # I am tired of underquoted warnings for Tcl macros
31 $aclocal -I m4 2>&1 | grep -v aclocal/tcl.m4
33 $automake --add-missing
36 if [ -f config.cache ]; then
40 enable_configure=false
59 if $enable_configure; then
60 if test -n "$sh_flags"; then
61 CFLAGS="$sh_flags" ./configure $*
69 Build the Makefiles with the configure command.
70 ./configure [--someoption=somevalue ...]
72 For help on options or configuring run
75 Build and install binaries with the usual
80 Build distribution tarball with
83 Verify distribution tarball with
86 Or just build the Debian packages without configuring
87 dpkg-buildpackage -rfakeroot
89 When building from a CVS checkout, you need these Debian tools: