generate platform_ops.h from platform_ops.proto, and reduce dependencies
[proto.git] / autogen.sh
blob4c6231e7d3e21b0d545854ed4afc08ce37009df6
1 #! /bin/bash
3 # clean up first
4 rm -f aclocal.m4
5 rm -rf autom4te*.cache
6 rm -f configure
8 # select right libtoolize name:
9 if [ `uname -s` = Darwin ]
10 then
11 LIBTOOLIZE=glibtoolize
12 else
13 LIBTOOLIZE=libtoolize
16 # note: these includes should match those in the toplevel Makefile.am
17 aclocal --force -I . -I config || exit 1
18 autoconf || exit 1
19 autoheader || exit 1
20 $LIBTOOLIZE --automake || exit 1
21 automake --add-missing --force --copy || exit 1