diff options
author | Bryan Jurish <mukau@users.sourceforge.net> | 2008-11-29 23:22:39 +0000 |
---|---|---|
committer | Bryan Jurish <mukau@users.sourceforge.net> | 2008-11-29 23:22:39 +0000 |
commit | d13da71edce4b913736c1e752a211ae20c193292 (patch) | |
tree | 57b0c3884b5d465259d21906f89e4ec5635da9d3 /gfsm/gfsm/autogen.sh | |
parent | 2072ea2ef54b92775efc83c82d9a4b7a8ac4d616 (diff) |
+ added local copy of gfsm source tree in gfsm/ subdir (for pd-extended auto-builds)
+ external builds now use static local libgfsm by default (insulates vs. API change, etc.)
svn path=/trunk/externals/moocow/; revision=10403
Diffstat (limited to 'gfsm/gfsm/autogen.sh')
-rwxr-xr-x | gfsm/gfsm/autogen.sh | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/gfsm/gfsm/autogen.sh b/gfsm/gfsm/autogen.sh new file mode 100755 index 0000000..686b20b --- /dev/null +++ b/gfsm/gfsm/autogen.sh @@ -0,0 +1,57 @@ +#!/bin/sh + +#----------------------------------------------------------------------- +# File: autogen.sh +# Description: +# + wrapper for m4 black-magic +#----------------------------------------------------------------------- + +MY_ALDIRS="." +MY_AHDIRS="." +MY_LTDIRS="." +MY_AMDIRS="." +MY_ACDIRS="." + +test -z "$ACLOCAL" && ACLOCAL="aclocal -I m4" +test -z "$AUTOHEADER" && AUTOHEADER=autoheader +test -z "$LIBTOOLIZE" && LIBTOOLIZE="libtoolize --automake" +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_LTDIRS"; then + for d in $MY_LTDIRS ; do + echo "(cd $d ; $LIBTOOLIZE)" + (cd $d ; $LIBTOOLIZE) + 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 $* |