aboutsummaryrefslogtreecommitdiff
path: root/gfsm/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'gfsm/autogen.sh')
-rwxr-xr-xgfsm/autogen.sh19
1 files changed, 14 insertions, 5 deletions
diff --git a/gfsm/autogen.sh b/gfsm/autogen.sh
index a7360a1..080f78a 100755
--- a/gfsm/autogen.sh
+++ b/gfsm/autogen.sh
@@ -8,13 +8,15 @@
MY_ALDIRS="."
MY_AHDIRS="."
+MY_LTDIRS="."
MY_AMDIRS="."
MY_ACDIRS="."
-MY_AGDIRS="./gfsm"
+MY_SUBDIRS="./gfsm"
test -z "$ACLOCAL" && ACLOCAL=aclocal
test -z "$AUTOHEADER" && AUTOHEADER=autoheader
+test -z "$LIBTOOLIZE" && LIBTOOLIZE="libtoolize --automake"
test -z "$AUTOMAKE" && AUTOMAKE=automake
test -z "$AUTOCONF" && AUTOCONF=autoconf
@@ -32,6 +34,13 @@ if test -n "$MY_AHDIRS"; then
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)"
@@ -46,10 +55,10 @@ if test -n "$MY_ACDIRS"; then
done
fi
-if test -n "$MY_AGDIRS"; then
- for d in $MY_AGDIRS ; do
- echo "(cd $d ; ./autogen.sh)"
- (cd $d ; ./autogen.sh)
+if test -n "$MY_SUBDIRS"; then
+ for d in $MY_SUBDIRS ; do
+ echo "(cd $d ; sh ./autogen.sh)"
+ (cd $d ; sh ./autogen.sh)
done
fi