From a3d9ca56040e35c0b79aa3b4bb804ae965ab6416 Mon Sep 17 00:00:00 2001 From: ddennedy Date: Wed, 23 Apr 2003 04:31:28 +0000 Subject: [PATCH] add libtoolize to bootstrap git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@107 53a565d1-3bb7-0310-b661-cf11e63c67ab --- autogen.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/autogen.sh b/autogen.sh index 493973c..6cfc5fc 100755 --- a/autogen.sh +++ b/autogen.sh @@ -29,6 +29,13 @@ DIE=0 DIE=1 } +(libtoolize --version) < /dev/null > /dev/null 2>&1 || { + echo + echo "You must have libtool installed to compile $PROJECT." + echo "Visit http://www.gnu.org/software/libtool/ for more information." + DIE=1 +} + if test "$DIE" -eq 1; then exit 1 fi @@ -49,10 +56,12 @@ esac aclocal $ACLOCAL_FLAGS +libtoolize --force --copy + # optionally feature autoheader (autoheader --version) < /dev/null > /dev/null 2>&1 && autoheader -automake -a $am_opt +automake -a $am_opt --copy autoconf cd $ORIGDIR