diff options
author | Bryan Jurish <mukau@users.sourceforge.net> | 2009-01-21 13:39:15 +0000 |
---|---|---|
committer | Bryan Jurish <mukau@users.sourceforge.net> | 2009-01-21 13:39:15 +0000 |
commit | e9a803f42a15025ff8eed59e4ae4d8a8ab3645e0 (patch) | |
tree | 05e707500b73d4c3f564ca841d26470f39756e97 /autoreconf.sh | |
parent | 6b820db93d315c0c55db12128bbc9b4426779ea8 (diff) |
+ added mooPdUtils.h and some MOO_UNUSED macros
svn path=/trunk/externals/moocow/; revision=10582
Diffstat (limited to 'autoreconf.sh')
-rwxr-xr-x | autoreconf.sh | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/autoreconf.sh b/autoreconf.sh index d5f1a65..e69220e 100755 --- a/autoreconf.sh +++ b/autoreconf.sh @@ -1,15 +1,23 @@ #!/bin/sh +subdirs=(deque flite gfsm pdstring readdir sprinkler weightmap) + if test -n "$*" ; then dirs=("$@") elif test "`basename \"$PWD\"`" = "moocow" ; then - dirs=(deque flite gfsm pdstring readdir sprinkler weightmap) + for d in "${subdirs[@]}"; do + $0 "$d" + done elif test "`basename \"$PWD\"`" = "extended" ; then - dirs=(../deque ../flite ../gfsm ../pdstring ../readdir ../sprinkler ../weightmap) + for d in "${subdirs[@]}"; do + $0 "../$d" + done else dirs=(.) fi -echo "$0: dirs=(${dirs[@]})" -exec autoreconf --install --force --verbose "${dirs[@]}" -#--symlink +if test -n "$dirs"; then + echo "$0: dirs=(${dirs[@]})" + exec autoreconf --install --force --verbose "${dirs[@]}" + #--symlink +fi |