From 4b01ea75f13ef54a6ad52d32e0bfe852633e5116 Mon Sep 17 00:00:00 2001 From: sf Date: Fri, 19 Oct 2012 18:11:50 +0000 Subject: Merge r1400200 from trunk: Fix Linux 3.x detection Submitted by: Gilles Espinasse PR: 54001 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1400203 13f79535-47bb-0310-9956-ffa450edef68 --- build/apr_hints.m4 | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'build') diff --git a/build/apr_hints.m4 b/build/apr_hints.m4 index 86086ce0d..d517390b4 100644 --- a/build/apr_hints.m4 +++ b/build/apr_hints.m4 @@ -119,15 +119,7 @@ dnl # Not a problem in 10.20. Otherwise, who knows? APR_ADDTO(CPPFLAGS, [-DHPUX -D_REENTRANT]) ;; *-linux*) - case `uname -r` in - 2.* ) APR_ADDTO(CPPFLAGS, [-DLINUX=2]) - ;; - 1.* ) APR_ADDTO(CPPFLAGS, [-DLINUX=1]) - ;; - * ) - ;; - esac - APR_ADDTO(CPPFLAGS, [-D_REENTRANT -D_GNU_SOURCE]) + APR_ADDTO(CPPFLAGS, [-DLINUX -D_REENTRANT -D_GNU_SOURCE]) ;; *-lynx-lynxos) APR_ADDTO(CPPFLAGS, [-D__NO_INCLUDE_WARN__ -DLYNXOS]) -- cgit v1.2.1