aboutsummaryrefslogtreecommitdiff
path: root/deque/autogen.sh
diff options
context:
space:
mode:
authorBryan Jurish <mukau@users.sourceforge.net>2006-02-02 12:40:31 +0000
committerBryan Jurish <mukau@users.sourceforge.net>2006-02-02 12:40:31 +0000
commit7071af9d6a6284b604aea2d75504603eb0214b65 (patch)
treeb20f9a90be5859ee799feb806045d781f9b8cfe5 /deque/autogen.sh
+ initial CVS importsvn2git-root
svn path=/trunk/externals/moocow/; revision=4534
Diffstat (limited to 'deque/autogen.sh')
-rwxr-xr-xdeque/autogen.sh48
1 files changed, 48 insertions, 0 deletions
diff --git a/deque/autogen.sh b/deque/autogen.sh
new file mode 100755
index 0000000..845f276
--- /dev/null
+++ b/deque/autogen.sh
@@ -0,0 +1,48 @@
+#!/bin/sh
+
+#-----------------------------------------------------------------------
+# File: autogen.sh
+# Description:
+# + wrapper for m4 black-magic
+#-----------------------------------------------------------------------
+
+MY_ALDIRS="."
+MY_AHDIRS="."
+MY_AMDIRS="."
+MY_ACDIRS="."
+
+test -z "$ACLOCAL" && ACLOCAL=aclocal
+test -z "$AUTOHEADER" && AUTOHEADER=autoheader
+test -z "$AUTOMAKE" && AUTOMAKE=automake
+test -z "$AUTOCONF" && AUTOCONF=autoconf
+
+if test -n "$MY_ALDIRS"; then
+ for d in $MY_ALDIRS ; do
+ echo "(cd $d ; $ACLOCAL)"
+ (cd $d ; $ACLOCAL)
+ done
+fi
+
+if test -n "$MY_AHDIRS"; then
+ for d in $MY_AHDIRS ; do
+ echo "(cd $d ; $AUTOHEADER)"
+ (cd $d ; $AUTOHEADER)
+ done
+fi
+
+if test -n "$MY_AMDIRS"; then
+ for d in $MY_AMDIRS ; do
+ echo "(cd $d ; $AUTOMAKE -a)"
+ (cd $d ; $AUTOMAKE -a)
+ done
+fi
+
+if test -n "$MY_ACDIRS"; then
+ for d in $MY_ACDIRS ; do
+ echo "(cd $d ; $AUTOCONF)"
+ (cd $d ; $AUTOCONF)
+ done
+fi
+
+#echo "(./configure)"
+#./configure $*