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

    2005-11-11  Archie Cobbs  <[EMAIL PROTECTED]>

       * 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
_______________________________________________
Classpath-patches mailing list
Classpath-patches@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to