glog 0.1
[platform/upstream/glog.git] / autogen.sh
1 #!/bin/sh
2
3 # Before using, you should figure out all the .m4 macros that your
4 # configure.m4 script needs and make sure they exist in the autoconf/
5 # directory.
6 #
7 # These are the files that this script might edit:
8 #    aclocal.m4 configure Makefile.in src/config.h.in \
9 #    depcomp config.guess config.sub install-sh missing mkinstalldirs \
10 #    ltmain.sh
11 #
12 # Here's a command you can run to see what files aclocal will import:
13 #  aclocal -I ../autoconf --output=- | sed -n 's/^m4_include..\([^]]*\).*/\1/p'
14
15 set -ex
16 rm -rf autom4te.cache
17
18 aclocal --force -I m4
19 grep -q LIBTOOL configure.ac && libtoolize -c -f
20 autoconf -f -W all,no-obsolete
21 autoheader -f -W all
22 automake -a -c -f -W all
23
24 rm -rf autom4te.cache
25 exit 0