From 2369b7ec1020eeb79c62a43ad31f866cbc5baad9 Mon Sep 17 00:00:00 2001 From: Bryan Jurish Date: Sun, 30 Nov 2008 16:20:57 +0000 Subject: + added libtoolize call to autogen.sh svn path=/trunk/externals/moocow/; revision=10404 --- gfsm/autogen.sh | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'gfsm') 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 -- cgit v1.2.1