Revision 51807d7608215a5d39aebadf4a4ca2139a1113a3 authored by Glenn Randers-Pehrson on 12 February 2009, 13:13:25 UTC, committed by Glenn Randers-Pehrson on 06 April 2009, 21:18:28 UTC
1 parent e104df5
Raw File
autogen.sh
#! /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
back to top