Windows: use Boost 1.59, msvc 14.0
[metaproxy-moved-to-github.git] / buildconf.sh
1 #!/bin/sh
2
3 if [ -d .git ]; then
4     git submodule init
5     git submodule update
6 fi
7
8 . m4/id-config.sh
9
10 if $enable_help; then
11     cat <<EOF
12
13 Build the Makefiles with the configure command.
14   ./configure [--someoption=somevalue ...]
15
16 For help on options or configuring run
17   ./configure --help
18
19 Build and install binaries with the usual
20   make
21   make check
22   make install
23
24 Build distribution tarball with
25   make dist
26
27 Verify distribution tarball with
28   make distcheck
29
30 EOF
31     if [ -f /etc/debian_version ]; then
32         cat <<EOF
33 Or just build the Debian packages without configuring
34   dpkg-buildpackage -rfakeroot
35
36 When building from Git, you need these Debian packages:
37   autoconf automake libtool g++
38   xsltproc docbook docbook-xml docbook-xsl inkscape
39   libxslt1-dev libgnutls-dev libreadline5-dev libicu-dev
40   libboost-dev libboost-thread-dev libboost-test-dev
41   libboost-regex-dev libboost-system-dev
42
43 And if you want to make a Debian package: dpkg-dev fakeroot debhelper
44 (Then run "dpkg-buildpackage -rfakeroot" in this directory.)
45
46 EOF
47     fi
48     if [ "`uname -s`" = FreeBSD ]; then
49         cat <<EOF
50   pkg_add -r autoconf268 automake111 libtool bison tcl84 \\
51              docbook-xsl libxml2 libxslt boost-all
52   pkg_add -r icu4
53 EOF
54     fi
55 fi