temporal | 40ee551 | 2008-07-10 02:12:20 +0000 | [diff] [blame^] | 1 | #!/bin/sh |
| 2 | |
| 3 | # Run this script to generate the configure script and other files that will |
| 4 | # be included in the distribution. These files are not checked in because they |
| 5 | # are automatically generated. |
| 6 | |
| 7 | # Check that we're being run from the right directory. |
| 8 | if test ! -e src/google/protobuf/stubs/common.h; then |
| 9 | cat >&2 << __EOF__ |
| 10 | Could not find source code. Make sure you are running this script from the |
| 11 | root of the distribution tree. |
| 12 | __EOF__ |
| 13 | exit 1 |
| 14 | fi |
| 15 | |
| 16 | set -ex |
| 17 | |
| 18 | rm -rf autom4te.cache |
| 19 | |
| 20 | aclocal-1.9 --force -I m4 |
| 21 | libtoolize -c -f |
| 22 | autoheader -f -W all |
| 23 | automake-1.9 --foreign -a -c -f -W all |
| 24 | autoconf -f -W all,no-obsolete |
| 25 | |
| 26 | rm -rf autom4te.cache config.h.in~ |
| 27 | exit 0 |