summaryrefslogtreecommitdiff
path: root/Build/source/libs/libpng/libpng-1.5.16/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/libpng/libpng-1.5.16/autogen.sh')
-rwxr-xr-xBuild/source/libs/libpng/libpng-1.5.16/autogen.sh34
1 files changed, 34 insertions, 0 deletions
diff --git a/Build/source/libs/libpng/libpng-1.5.16/autogen.sh b/Build/source/libs/libpng/libpng-1.5.16/autogen.sh
new file mode 100755
index 00000000000..5be104eb1d9
--- /dev/null
+++ b/Build/source/libs/libpng/libpng-1.5.16/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