summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libpng/autogen.sh
blob: 77b63087c8bb74504aec2feae91b2c392ac25e7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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