summaryrefslogtreecommitdiffhomepage
path: root/contrib/libpng/autogen.sh
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-02-09 22:23:03 +0100
committerAki <please@ignore.pl>2022-02-09 22:53:55 +0100
commit373dc625f82b47096893add42c4472e4a57ab7eb (patch)
tree640228d02476d379de13071b13d1b1fa322b767f /contrib/libpng/autogen.sh
parent2d7dd844219965b81e81848e60d7f7bf23035ee4 (diff)
downloadstarshatter-373dc625f82b47096893add42c4472e4a57ab7eb.zip
starshatter-373dc625f82b47096893add42c4472e4a57ab7eb.tar.gz
starshatter-373dc625f82b47096893add42c4472e4a57ab7eb.tar.bz2
Moved third-party libraries to a separate subdirectory
Diffstat (limited to 'contrib/libpng/autogen.sh')
-rwxr-xr-xcontrib/libpng/autogen.sh34
1 files changed, 34 insertions, 0 deletions
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