blob: 34a4d2e33468e3db9d247e5e3b09f3ecc1a6f5f9 [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
18rm -rf autom4te.cache
19
20aclocal-1.9 --force -I m4
21libtoolize -c -f
22autoheader -f -W all
23automake-1.9 --foreign -a -c -f -W all
24autoconf -f -W all,no-obsolete
25
26rm -rf autom4te.cache config.h.in~
27exit 0