summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorsf <sf@13f79535-47bb-0310-9956-ffa450edef68>2012-10-19 18:11:50 +0000
committersf <sf@13f79535-47bb-0310-9956-ffa450edef68>2012-10-19 18:11:50 +0000
commit4b01ea75f13ef54a6ad52d32e0bfe852633e5116 (patch)
tree811f0e1cf53ba2a4feae3fa728cbe3c3080b26e7 /build
parent179ea3763d8891b760f3a8c57ba3bc98b012f147 (diff)
downloadlibapr-4b01ea75f13ef54a6ad52d32e0bfe852633e5116.tar.gz
Merge r1400200 from trunk:
Fix Linux 3.x detection Submitted by: Gilles Espinasse <g esp free fr> PR: 54001 git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.5.x@1400203 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build')
-rw-r--r--build/apr_hints.m410
1 files changed, 1 insertions, 9 deletions
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])