This repository has been archived on 2023-11-11. You can view files and clone it, but cannot push or open issues or pull requests.
libpng/autogen.sh

26 lines
639 B
Bash
Raw Normal View History

2004-12-03 00:14:51 +00:00
#! /bin/sh
# a quick hack script to generate necessary files from
# auto* tools.
2006-03-02 13:23:18 +00:00
#
# WARNING: if you run this you will change the versions
# of the tools which are used and, maybe, required!
2006-06-14 18:59:43 +00:00
touch Makefile.am configure.ac
2006-03-02 13:23:18 +00:00
{
echo "running libtoolize" >&2
2008-05-02 04:10:45 +00:00
libtoolize --force --copy --automake
2006-03-02 13:23:18 +00:00
} && {
echo "running aclocal" >&2
aclocal
} && {
echo "running autoheader [ignore the warnings]" >&2
autoheader
} && {
echo "running automake" >&2
2008-05-02 04:10:45 +00:00
automake --force-missing --foreign -a -c
2006-03-02 13:23:18 +00:00
} && {
echo "running autoconf" >&2
autoconf
} &&
echo "autogen complete" >&2 ||
echo "ERROR: autogen.sh failed, autogen is incomplete" >&2