view ext/libpng-1.2.29/autogen.sh @ 130:b49714fff478

* Workaround for Segfault_in_cxa_allocate_exception: http://wiki.fifengine.de/Segfault_in_cxa_allocate_exception * Full credit goes to Yonibear from OpenAnno who tracked down the issue
author mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
date Mon, 18 Aug 2008 23:11:32 +0000
parents 4a0efb7baf70
children
line wrap: on
line source

#! /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