[PATCH (speechd-up)] Invoke libtoolize in build.sh.

Christopher Brannon cmbrannon79 at gmail.com
Fri Feb 12 20:25:30 CET 2010


The following sequence fails for me:
./build.sh ; ./configure ; make
In fact, the "make" process blows up with lots of errors from libtool.
The problem is that the ltmain.sh distributed in speechd-up's git repo
is out of date.  Instead, build.sh should call libtoolize.  This copies
ltmain.sh from the host system.

Note that ltmain.sh should be removed from the repository.  I'd do that
in this patch, but it would needlessly increase the size of the diff.
---
 build.sh |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/build.sh b/build.sh
index 879bb07..d30f9f9 100755
--- a/build.sh
+++ b/build.sh
@@ -23,6 +23,12 @@
 # $Id: build.sh,v 1.1 2004-01-22 21:30:03 hanke Exp $
 
 
+echo "Copying libtool macros (libtoolize)"
+if ! libtoolize --force; then
+	echo "libtoolize failed!"
+	exit 1
+fi
+
 echo "Building user-defined autoconf macros (aclocal)"
 if ! aclocal; then
 	echo "aclocal failed!"
-- 
1.6.6.1




More information about the Speechd mailing list