]> granicus.if.org Git - php/commitdiff
libtool check fix
authorRasmus Lerdorf <rasmus@php.net>
Thu, 16 Sep 1999 13:52:19 +0000 (13:52 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Thu, 16 Sep 1999 13:52:19 +0000 (13:52 +0000)
buildconf

index 1596430f8212f530f0916f87bc2083987b068cc9..7863af86054187dad83eb039fe12b7514c6d8088 100755 (executable)
--- a/buildconf
+++ b/buildconf
@@ -48,7 +48,7 @@ else
     fi
 
     # libtool 1.3.3 or newer
-    lt_pversion=`libtool --version 2>/dev/null|sed -e 's/^[^0-9]*//' -e 's/ .*//'`
+    lt_pversion=`libtool --version 2>/dev/null|sed -e 's/^[^0-9]*//' -e 's/[- ].*//'`
     if test "$lt_pversion" = ""; then
        echo "buildconf: libtool not found."
        echo "           You need libtool version 1.3 or newer installed"