Fixed a problem with HTTP 1.1 hanging connections that occurred
[yazproxy-moved-to-github.git] / buildconf.sh
1 #!/bin/sh
2 # $Id: buildconf.sh,v 1.7 2005-06-21 18:46:04 adam Exp $
3 set -x
4 aclocal -I .
5 libtoolize --automake --force 
6 automake --add-missing 
7 autoconf
8 set -
9 if [ -f config.cache ]; then
10         rm config.cache
11 fi
12
13 enable_configure=false
14 enable_help=true
15 sh_flags=""
16 conf_flags=""
17 case $1 in
18     -d)
19         sh_flags="-g -Wall"
20         enable_configure=true
21         enable_help=false
22         shift
23         ;;
24     -c)
25         sh_flags=""
26         enable_configure=true
27         enable_help=false
28         shift
29         ;;
30 esac
31
32 if $enable_configure; then
33     if test -n "$sh_flags"; then
34         CXXFLAGS="$sh_flags" ./configure $*
35     else
36         ./configure $*
37     fi
38 fi
39 if $enable_help; then
40     cat <<EOF
41
42 Build the Makefiles with the configure command.
43   ./configure [--someoption=somevalue ...]
44
45 For help on options or configuring run
46   ./configure --help
47
48 Build and install binaries with the usual
49   make
50   make check
51   make install
52
53 Build distribution tarball with
54   make dist
55
56 Verify distribution tarball with
57   make distcheck
58
59 Or just build the Debian packages without configuring
60   dpkg-buildpackage -rfakeroot
61
62 When building from a CVS checkout, you need these Debian tools:
63   docbook-utils, docbook, docbook-xml, docbook-dsssl, jade, jadetex,
64   libxslt1-dev, libyaz++-dev
65 EOF
66 fi