diff options
author | Bryan Jurish <mukau@users.sourceforge.net> | 2009-01-23 21:50:38 +0000 |
---|---|---|
committer | Bryan Jurish <mukau@users.sourceforge.net> | 2009-01-23 21:50:38 +0000 |
commit | 7601ef8eabc854709b5bdb312de9e7cee34a8c20 (patch) | |
tree | 1ccd716855ce04b9a296d5e359b3fe284ab1bb50 /pdstring+wchar/autogen.sh | |
parent | 5896a4d65de68c5e29b5566234e71e1c288df08d (diff) |
+ added branch pdstring+wchar/ from pdstring/
svn path=/trunk/externals/moocow/; revision=10606
Diffstat (limited to 'pdstring+wchar/autogen.sh')
-rwxr-xr-x | pdstring+wchar/autogen.sh | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/pdstring+wchar/autogen.sh b/pdstring+wchar/autogen.sh new file mode 100755 index 0000000..7717f28 --- /dev/null +++ b/pdstring+wchar/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 -c)" + (cd $d ; $AUTOMAKE -a -c) + 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 $* |