[prev in list] [next in list] [prev in thread] [next in thread]
List: apr-cvs
Subject: cvs commit: apr/build buildcheck.sh
From: jerenkrantz () apache ! org
Date: 2003-06-16 20:47:21
[Download RAW message or body]
jerenkrantz 2003/06/16 13:47:21
Modified: build buildcheck.sh
Log:
Take only the first line from libtool --version as 1.5 emits multi-line version
information now.
Revision Changes Path
1.7 +1 -1 apr/build/buildcheck.sh
Index: buildcheck.sh
===================================================================
RCS file: /home/cvs/apr/build/buildcheck.sh,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -u -r1.6 -r1.7
--- buildcheck.sh 15 May 2002 16:47:09 -0000 1.6
+++ buildcheck.sh 16 Jun 2003 20:47:21 -0000 1.7
@@ -22,7 +22,7 @@
# libtool 1.3.3 or newer
libtool=`build/PrintPath glibtool libtool`
-lt_pversion=`$libtool --version 2>/dev/null|sed -e 's/^[^0-9]*//' -e 's/[- ].*//'`
+lt_pversion=`$libtool --version 2>/dev/null|head -1|sed -e 's/^[^0-9]*//' -e 's/[- ].*//'`
if test -z "$lt_pversion"; then
echo "buildconf: libtool not found."
echo " You need libtool version 1.3.3 or newer installed"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic