aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:30:05 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:30:05 -0800
commit893912bfc2683463dc3e2c445336752d012563d3 (patch)
treed69220fafcd6687fe39ca99ad8c74820b429d6a9 /autogen.sh
parent0d889b4fd2c96153983a28cc5757c0172d9eb78b (diff)
downloadexternal_libpng-893912bfc2683463dc3e2c445336752d012563d3.zip
external_libpng-893912bfc2683463dc3e2c445336752d012563d3.tar.gz
external_libpng-893912bfc2683463dc3e2c445336752d012563d3.tar.bz2
auto import from //depot/cupcake/@135843
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..77b6308
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,25 @@
+#! /bin/sh
+# a quick hack script to generate necessary files from
+# auto* tools.
+#
+# WARNING: if you run this you will change the versions
+# of the tools which are used and, maybe, required!
+ touch Makefile.am configure.ac
+{
+ echo "running libtoolize" >&2
+ libtoolize --force --copy --automake
+} && {
+ echo "running aclocal" >&2
+ aclocal
+} && {
+ echo "running autoheader [ignore the warnings]" >&2
+ autoheader
+} && {
+ echo "running automake" >&2
+ automake --force-missing --foreign -a -c
+} && {
+ echo "running autoconf" >&2
+ autoconf
+} &&
+ echo "autogen complete" >&2 ||
+ echo "ERROR: autogen.sh failed, autogen is incomplete" >&2