[prev in list] [next in list] [prev in thread] [next in thread] 

List:       geos-commits
Subject:    [geos-commits] r2303 - trunk
From:       svn_geos () osgeo ! org
Date:       2009-03-24 15:58:45
Message-ID: 20090324155845.21961E00C4C () lists ! osgeo ! org
[Download RAW message or body]

Author: pramsey
Date: 2009-03-24 11:58:44 -0400 (Tue, 24 Mar 2009)
New Revision: 2303

Modified:
   trunk/autogen.sh
Log:
Allow version test to work in glibtoolize


Modified: trunk/autogen.sh
===================================================================
--- trunk/autogen.sh	2009-03-24 00:48:48 UTC (rev 2302)
+++ trunk/autogen.sh	2009-03-24 15:58:44 UTC (rev 2303)
@@ -52,7 +52,7 @@
 AUTOMAKE_VER=`${AUTOMAKE} --version | grep -E "^.*[0-9]$" | sed 's/^.* //'`
 
 
-for libtoolize in glibtoolize libtoolize; do
+for libtoolize in libtoolize glibtoolize; do
     LIBTOOLIZE=`which $libtoolize 2>/dev/null`
     if test -x "${LIBTOOLIZE}"; then
         break;
@@ -62,7 +62,7 @@
     echo "Missing libtoolize!"
     exit
 fi
-LIBTOOLIZE_VER=`${LIBTOOLIZE} --version | grep -E "^.*[0-9]\.[0-9]$" | sed 's/^.* //'`
+LIBTOOLIZE_VER=`${LIBTOOLIZE} --version | grep -E "^.*[0-9]\.[0-9]" | sed 's/^.* //'`
 
 AMOPTS="--add-missing --copy"
 if test "$OSTYPE" = "IRIX" -o "$OSTYPE" = "IRIX64"; then

_______________________________________________
geos-commits mailing list
geos-commits@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geos-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic