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 | |
kenton@google.com | cf3f638 | 2008-09-30 22:01:45 +0000 | [diff] [blame^] | 18 | # TODO(kenton): Remove the ",no-obsolete" part and fix the resulting warnings. |
| 19 | autoreconf -f -i -Wall,no-obsolete |
temporal | 40ee551 | 2008-07-10 02:12:20 +0000 | [diff] [blame] | 20 | |
| 21 | rm -rf autom4te.cache config.h.in~ |
| 22 | exit 0 |