mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 18:58:51 +00:00
5b3cbd13d6
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665436 13f79535-47bb-0310-9956-ffa450edef68
30 lines
523 B
Bash
Executable File
30 lines
523 B
Bash
Executable File
#!/bin/sh
|
|
|
|
|
|
subdirs=" if"
|
|
|
|
./cleanup.sh
|
|
|
|
autoscan || exit 1
|
|
autoheader || exit 1
|
|
aclocal -I ./aclocal || exit 1
|
|
|
|
if libtoolize --version 1 >/dev/null 2>/dev/null; then
|
|
libtoolize --automake || exit 1
|
|
elif glibtoolize --version 1 >/dev/null 2>/dev/null; then
|
|
glibtoolize --automake || exit 1
|
|
fi
|
|
|
|
autoconf
|
|
automake -ac --add-missing --foreign || exit 1
|
|
|
|
for subdir in ${subdirs}; do
|
|
if [ -x "${subdir}/bootstrap.sh" ]; then
|
|
cwd="`pwd`"
|
|
cd "${subdir}"
|
|
./bootstrap.sh
|
|
cd "${cwd}"
|
|
fi
|
|
done
|
|
|