aboutsummaryrefslogtreecommitdiff
path: root/autoreconf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autoreconf.sh')
-rwxr-xr-xautoreconf.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/autoreconf.sh b/autoreconf.sh
new file mode 100755
index 0000000..d5f1a65
--- /dev/null
+++ b/autoreconf.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+if test -n "$*" ; then
+ dirs=("$@")
+elif test "`basename \"$PWD\"`" = "moocow" ; then
+ dirs=(deque flite gfsm pdstring readdir sprinkler weightmap)
+elif test "`basename \"$PWD\"`" = "extended" ; then
+ dirs=(../deque ../flite ../gfsm ../pdstring ../readdir ../sprinkler ../weightmap)
+else
+ dirs=(.)
+fi
+echo "$0: dirs=(${dirs[@]})"
+
+exec autoreconf --install --force --verbose "${dirs[@]}"
+#--symlink