classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] Fix for autogen.sh


From: Archie Cobbs
Subject: [cp-patches] Fix for autogen.sh
Date: Fri, 11 Nov 2005 12:38:31 -0600
User-agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129

I've checked in this fix for autogen.sh on FreeBSD.

    2005-11-11  Archie Cobbs  <address@hidden>

       * autogen.sh: Fix broken libtool version detection on FreeBSD.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com
Index: autogen.sh
===================================================================
RCS file: /cvsroot/classpath/classpath/autogen.sh,v
retrieving revision 1.13
diff -u -r1.13 autogen.sh
--- autogen.sh  3 Sep 2005 20:32:04 -0000       1.13
+++ autogen.sh  11 Nov 2005 17:44:31 -0000
@@ -16,7 +16,7 @@
 
 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 
's/^.*[^0-9.]\([0-9]\{1,\}\.[0-9.]\{1,\}\).*/\1/'`
        case $libtool_version in
            1.5*)
                have_libtool=true

reply via email to

[Prev in Thread] Current Thread [Next in Thread]