apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1541486 - /apr/apr/trunk/configure.in
Date Wed, 13 Nov 2013 12:03:50 GMT
Author: trawick
Date: Wed Nov 13 12:03:50 2013
New Revision: 1541486

URL: http://svn.apache.org/r1541486
Log:
Follow up to r1535027 and r1535157:

Fix sed re escaping issue in recognition of Linux kernel version.

PR: 55690
Submitted by: Arfrever Frehtes Taifersar Arahesis <arfrever.fta gmail.com>
Reviewed by: trawick

Modified:
    apr/apr/trunk/configure.in

Modified: apr/apr/trunk/configure.in
URL: http://svn.apache.org/viewvc/apr/apr/trunk/configure.in?rev=1541486&r1=1541485&r2=1541486&view=diff
==============================================================================
--- apr/apr/trunk/configure.in (original)
+++ apr/apr/trunk/configure.in Wed Nov 13 12:03:50 2013
@@ -681,7 +681,7 @@ case $host in
         ;;
     *linux*)
         os_major=[`uname -r | sed -e 's/\([1-9][0-9]*\)\..*/\1/'`]
-        os_minor=[`uname -r | sed -e 's/[1-9][0-9]*\.\([0-9]+\)\..*/\1/'`]
+        os_minor=[`uname -r | sed -e 's/[1-9][0-9]*\.\([0-9]\+\)\..*/\1/'`]
         if test $os_major -lt 2 -o \( $os_major -eq 2 -a $os_minor -lt 4 \); then
             AC_MSG_WARN([Configured for pre-2.4 Linux $os_major.$os_minor])
             os_pre24linux=1



Mime
View raw message