[gmime] Fixed sed expr for detecting libtool version
- From: Jeffrey Stedfast <fejj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gmime] Fixed sed expr for detecting libtool version
- Date: Wed, 14 Apr 2010 13:06:57 +0000 (UTC)
commit f11f2eec3ab95f7a24ce684d0b3df205a504f0fc
Author: Jeffrey Stedfast <fejj gnome org>
Date: Wed Apr 14 09:06:00 2010 -0400
Fixed sed expr for detecting libtool version
autogen.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index dc777cb..fe7f2e7 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -14,7 +14,7 @@ DIE=0
have_libtool=false
if libtoolize --version < /dev/null > /dev/null 2>&1 ; then
- libtool_version=`libtoolize --version | sed 's/^[^0-9]*\([0-9.][0-9.]*\).*/\1/'`
+ libtool_version=`libtoolize --version | sed '/^$/d;s/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'`
case $libtool_version in
1.4*|1.5*|2.2*)
have_libtool=true
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]