Merge commit 'remotes/trunk'
[amiethrift.git] / bootstrap.sh
blob84ea481b349ebe136dea0493a14e472357b2a105
1 #!/bin/sh
4 subdirs=" if"
6 ./cleanup.sh
8 autoscan || exit 1
9 autoheader || exit 1
10 aclocal -I ./aclocal || exit 1
12 if libtoolize --version 1 >/dev/null 2>/dev/null; then
13 libtoolize --automake || exit 1
14 elif glibtoolize --version 1 >/dev/null 2>/dev/null; then
15 glibtoolize --automake || exit 1
18 autoconf
19 automake -ac --add-missing --foreign || exit 1
21 for subdir in ${subdirs}; do
22 if [ -x "${subdir}/bootstrap.sh" ]; then
23 cwd="`pwd`"
24 cd "${subdir}"
25 ./bootstrap.sh
26 cd "${cwd}"
28 done