diff options
author | Bryan Jurish <mukau@users.sourceforge.net> | 2009-01-17 22:22:38 +0000 |
---|---|---|
committer | Bryan Jurish <mukau@users.sourceforge.net> | 2009-01-17 22:22:38 +0000 |
commit | 2787f508f244b5fcbca0b38c3ca755d555b723bf (patch) | |
tree | 312666db4b3d80bd347a66d30def23a90d956345 /sprinkler/autogen.sh | |
parent | 6757130ebc12fd86881d082925ffd321b1078ce7 (diff) |
+ (re-)added sprinkler
svn path=/trunk/externals/moocow/; revision=10571
Diffstat (limited to 'sprinkler/autogen.sh')
-rwxr-xr-x | sprinkler/autogen.sh | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/sprinkler/autogen.sh b/sprinkler/autogen.sh new file mode 100755 index 0000000..629feb1 --- /dev/null +++ b/sprinkler/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 $* |