8 test -d config || mkdir config
13 if [ "`uname -s`" = FreeBSD ]; then
14 # FreeBSD intalls the various auto* tools with version numbers
15 echo "Using special configuration for FreeBSD ..."
17 aclocal="aclocal19 -I /usr/local/share/aclocal"
19 libtoolize=libtoolize15
22 if $automake --version|head -1 |grep '1\.[4-7]'; then
23 echo "automake 1.4-1.7 is active. You should use automake 1.8 or later"
24 if test -f /etc/debian_version; then
25 echo " sudo apt-get install automake1.9"
26 echo " sudo update-alternatives --config automake"
32 # I am tired of underquoted warnings for Tcl macros
34 $libtoolize --automake --force
35 $automake --add-missing
38 if [ -f config.cache ]; then
42 enable_configure=false
48 #sh_flags="-g -Wall -Wdeclaration-after-statement -Werror -Wstrict-prototypes"
49 sh_flags="-g -Wall -Wdeclaration-after-statement -Wstrict-prototypes"
62 if $enable_configure; then
63 if test -n "$sh_flags"; then
64 CFLAGS="$sh_flags" ./configure --disable-shared --enable-static $*
72 Build the Makefiles with the configure command.
73 ./configure [--someoption=somevalue ...]
75 For help on options or configuring run
78 Build and install binaries with the usual
83 Build distribution tarball with
86 Verify distribution tarball with
90 if [ -f /etc/debian_version ]; then
92 Or just build the Debian packages without configuring
93 dpkg-buildpackage -rfakeroot
95 When building from a CVS checkout, you need these Debian packages:
96 autoconf, automake, libtool, gcc, bison, any tcl,
97 xsltproc, docbook, docbook-xml, docbook-xsl,
98 libxslt1-dev, libssl-dev, libreadline5-dev, libwrap0-dev,
102 if [ "`uname -s`" = FreeBSD ]; then
104 When building from a CVS checkout, you need these FreeBSD Ports:
105 autoconf259, automake19, libtool15, bison, tcl84,
106 docbook-xsl, libxml2, libxslt, g++-4.0, make