--- autogen.sh.orig 2008-07-30 15:30:09.000000000 +0200 +++ autogen.sh 2008-07-30 17:18:07.000000000 +0200 @@ -85,8 +85,8 @@ #------------------- try_libtool_executable() { libtool=$1 - LT="`$libtool --version | awk '{ print $4 }' | sed -e 's/[a-zA-Z\ \.\(\)\-\;]//g'`" - if test "$LT" -ne "" ; then + LT="`$libtool --version | awk '{ print $4 }' | sed -e 's/[a-zA-Z\ \.\(\)\-\;]//g' | sed -e '/^$/d'`" + if test "$LT" != "" ; then LIBTOOL_MIN="`echo $LIBTOOL_MIN | sed -e 's/[a-zA-Z\ \.\(\)\-]//g'`" if test $LT -lt 100 ; then LT=`expr $LT \* 10`