summaryrefslogtreecommitdiff
path: root/qpid/cpp/bootstrap
blob: 2dc8f91b3037ae516c20399772081c87a9a60470 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
set -e
aclocal -I m4
autoheader
libtoolize --automake

# Create initial Makefile fragments that will force make to generate
# the real ones.
cat > src/rubygen.mk <<EOF
\$(srcdir)/rubygen.mk: force
	\$(rgen_cmd)
EOF
cat > src/managementgen.mk <<EOF
\$(srcdir)/managementgen.mk: force
	\$(mgen_cmd)
EOF


automake
autoconf

if [ "$1" = "-build" -o "$1" = "--build" ] ; then
    shift
    ./configure "$@"
    make
    make check
fi