8 test -d config || mkdir config
9 if test -d m4/.git -a -d doc/common/.git; then
16 if [ "`uname -s`" = FreeBSD ]; then
17 # FreeBSD intalls the various auto* tools with version numbers
18 echo "Using special configuration for FreeBSD ..."
20 aclocal="aclocal19 -I /usr/local/share/aclocal"
22 libtoolize=libtoolize15
25 if $automake --version|head -1 |grep '1\.[4-7]'; then
26 echo "automake 1.4-1.7 is active. You should use automake 1.8 or later"
27 if test -f /etc/debian_version; then
28 echo " sudo apt-get install automake1.9"
29 echo " sudo update-alternatives --config automake"
35 # I am tired of underquoted warnings for Tcl macros
37 $libtoolize --automake --force
38 $automake --add-missing
41 if [ -f config.cache ]; then
45 enable_configure=false
51 #sh_flags="-g -Wall -Wdeclaration-after-statement -Werror -Wstrict-prototypes"
52 sh_flags="-g -Wall -Wdeclaration-after-statement -Wstrict-prototypes"
65 if $enable_configure; then
66 if test -n "$sh_flags"; then
67 CFLAGS="$sh_flags" ./configure --disable-shared --enable-static $*
75 Build the Makefiles with the configure command.
76 ./configure [--someoption=somevalue ...]
78 For help on options or configuring run
81 Build and install binaries with the usual
86 Build distribution tarball with
89 Verify distribution tarball with
93 if [ -f /etc/debian_version ]; then
95 Or just build the Debian packages without configuring
96 dpkg-buildpackage -rfakeroot
98 When building from a CVS checkout, you need these Debian packages:
99 autoconf, automake, libtool, gcc, bison, any tcl,
100 xsltproc, docbook, docbook-xml, docbook-xsl,
101 libxslt1-dev, libssl-dev, libreadline5-dev, libwrap0-dev,
105 if [ "`uname -s`" = FreeBSD ]; then
107 When building from a CVS checkout, you need these FreeBSD Ports:
108 autoconf259, automake19, libtool15, bison, tcl84,
109 docbook-xsl, libxml2, libxslt, g++-4.0, make