summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/libmng/autogen.sh
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-07-10 15:24:15 -0500
committerTimothy Pearson <[email protected]>2011-07-10 15:24:15 -0500
commitbd0f3345a938b35ce6a12f6150373b0955b8dd12 (patch)
tree7a520322212d48ebcb9fbe1087e7fca28b76185c /src/3rdparty/libmng/autogen.sh
downloadqt3-bd0f3345a938b35ce6a12f6150373b0955b8dd12.tar.gz
qt3-bd0f3345a938b35ce6a12f6150373b0955b8dd12.zip
Add Qt3 development HEAD version
Diffstat (limited to 'src/3rdparty/libmng/autogen.sh')
-rwxr-xr-xsrc/3rdparty/libmng/autogen.sh34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/3rdparty/libmng/autogen.sh b/src/3rdparty/libmng/autogen.sh
new file mode 100755
index 0000000..0ed4a8b
--- /dev/null
+++ b/src/3rdparty/libmng/autogen.sh
@@ -0,0 +1,34 @@
+# autogen.sh
+#
+# invoke the auto* tools to create the configureation system
+
+# move out configure.in
+if ! test -f configure.in; then
+ echo "copying out configure.in"
+ ln -s makefiles/configure.in
+fi
+
+# move out the macros and run aclocal
+if ! test -f acinclude.m4; then
+ echo "copying configure macros"
+ ln -s makefiles/acinclude.m4 .
+fi
+aclocal
+
+# build the configure script
+autoconf
+
+# set up libtool
+libtoolize --force
+
+# copy up our Makefile template and invoke automake
+if ! test -f Makefile.am; then
+ echo "copying automake template"
+ ln -s makefiles/Makefile.am .
+fi
+automake --foreign --add-missing
+
+# and finally invoke our new configure
+./configure $*
+
+# end