From 373dc625f82b47096893add42c4472e4a57ab7eb Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 9 Feb 2022 22:23:03 +0100 Subject: Moved third-party libraries to a separate subdirectory --- contrib/libpng/autogen.sh | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 contrib/libpng/autogen.sh (limited to 'contrib/libpng/autogen.sh') diff --git a/contrib/libpng/autogen.sh b/contrib/libpng/autogen.sh new file mode 100755 index 0000000..5be104e --- /dev/null +++ b/contrib/libpng/autogen.sh @@ -0,0 +1,34 @@ +#! /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! + +# You can define your own replacements in your environment. +# $AUTOCONF, $AUTOMAKE, $AUTOHEADER, $AUTOPOINT, $ACLOCAL and $LIBTOOLIZE + +touch Makefile.am configure.ac +{ + LT=${LIBTOOLIZE-libtoolize} + echo "running $LT" >&2 + $LT --force --copy --automake +} && { + AL=${ACLOCAL-aclocal} + echo "running $AL" >&2 + $AL +} && { + AH=${AUTOHEADER-autoheader} + echo "running $AH [ignore the warnings]" >&2 + $AH +} && { + AM=${AUTOMAKE-automake} + echo "running $AM" >&2 + $AM --force-missing --foreign -a -c +} && { + AC=${AUTOCONF-autoconf} + echo "running $AC" >&2 + $AC +} && + echo "autogen complete" >&2 || + echo "ERROR: autogen.sh failed, autogen is incomplete" >&2 -- cgit v1.1