aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Jurish <mukau@users.sourceforge.net>2008-11-30 16:20:57 +0000
committerBryan Jurish <mukau@users.sourceforge.net>2008-11-30 16:20:57 +0000
commit2369b7ec1020eeb79c62a43ad31f866cbc5baad9 (patch)
treef20406a58db4d54fe25cb68269a407d2bdac9bfa
parentd13da71edce4b913736c1e752a211ae20c193292 (diff)
+ added libtoolize call to autogen.sh
svn path=/trunk/externals/moocow/; revision=10404
-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