summaryrefslogtreecommitdiffstats
path: root/vlc/build/libdvdread_autogen.patch
blob: 9846922bf12f99fa95dbecc4bed4997a7e8ca521 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- 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`