From e9a803f42a15025ff8eed59e4ae4d8a8ab3645e0 Mon Sep 17 00:00:00 2001 From: Bryan Jurish Date: Wed, 21 Jan 2009 13:39:15 +0000 Subject: + added mooPdUtils.h and some MOO_UNUSED macros svn path=/trunk/externals/moocow/; revision=10582 --- autoreconf.sh | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'autoreconf.sh') 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 -- cgit v1.2.1