blob: efa5a59965fbbb5b2b0a12890f1b351bb5493c18 [file] [log] [blame]
temporal40ee5512008-07-10 02:12:20 +00001#!/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.
8if test ! -e src/google/protobuf/stubs/common.h; then
9 cat >&2 << __EOF__
10Could not find source code. Make sure you are running this script from the
11root of the distribution tree.
12__EOF__
13 exit 1
14fi
15
16set -ex
17
kenton@google.comcf3f6382008-09-30 22:01:45 +000018# TODO(kenton): Remove the ",no-obsolete" part and fix the resulting warnings.
19autoreconf -f -i -Wall,no-obsolete
temporal40ee5512008-07-10 02:12:20 +000020
21rm -rf autom4te.cache config.h.in~
22exit 0