summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libpng/autogen.sh
diff options
context:
space:
mode:
authoraavit <qt-info@nokia.com>2010-02-15 12:08:49 (GMT)
committeraavit <qt-info@nokia.com>2010-02-15 12:14:04 (GMT)
commite9aac1679a651107735414a56ff04621d3287526 (patch)
treefa5905e80a82847fc0dbb044ae51a62ae2cf5deb /src/3rdparty/libpng/autogen.sh
parentc9a13228d61de352edfb0019121bc83160d3b79f (diff)
downloadQt-e9aac1679a651107735414a56ff04621d3287526.zip
Qt-e9aac1679a651107735414a56ff04621d3287526.tar.gz
Qt-e9aac1679a651107735414a56ff04621d3287526.tar.bz2
Add libpng 1.4.0
This is a clean copy of libpng 1.2.40, except that the contribs directory has been removed, as usual. Our build modifications will follow in a separate commit.
Diffstat (limited to 'src/3rdparty/libpng/autogen.sh')
-rwxr-xr-xsrc/3rdparty/libpng/autogen.sh25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/3rdparty/libpng/autogen.sh b/src/3rdparty/libpng/autogen.sh
new file mode 100755
index 0000000..77b6308
--- /dev/null
+++ b/src/3rdparty/libpng/autogen.sh
@@ -0,0 +1,25 @@
+#! /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