You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by sf...@apache.org on 2012/05/19 00:28:21 UTC
svn commit: r1340292 - in /apr/apr/branches/1.4.x: ./ build/apr_hints.m4
Author: sf
Date: Fri May 18 22:28:20 2012
New Revision: 1340292
URL: http://svn.apache.org/viewvc?rev=1340292&view=rev
Log:
Merge r1340288:
Update hints for hurd
Submitted by: Pino Toscano <pino debian org>, Stefan Fritsch
Modified:
apr/apr/branches/1.4.x/ (props changed)
apr/apr/branches/1.4.x/build/apr_hints.m4
Propchange: apr/apr/branches/1.4.x/
------------------------------------------------------------------------------
Merged /apr/apr/trunk:r1340288
Modified: apr/apr/branches/1.4.x/build/apr_hints.m4
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.4.x/build/apr_hints.m4?rev=1340292&r1=1340291&r2=1340292&view=diff
==============================================================================
--- apr/apr/branches/1.4.x/build/apr_hints.m4 (original)
+++ apr/apr/branches/1.4.x/build/apr_hints.m4 Fri May 18 22:28:20 2012
@@ -129,9 +129,6 @@ dnl # Not a problem in 10.20. Ot
esac
APR_ADDTO(CPPFLAGS, [-D_REENTRANT -D_GNU_SOURCE])
;;
- *-GNU*)
- APR_ADDTO(CPPFLAGS, [-DHURD -D_GNU_SOURCE])
- ;;
*-lynx-lynxos)
APR_ADDTO(CPPFLAGS, [-D__NO_INCLUDE_WARN__ -DLYNXOS])
APR_ADDTO(LIBS, [-lbsd])
@@ -180,6 +177,9 @@ dnl # Not a problem in 10.20. Ot
*-k*bsd*-gnu)
APR_ADDTO(CPPFLAGS, [-D_REENTRANT -D_GNU_SOURCE])
;;
+ *-gnu*|*-GNU*)
+ APR_ADDTO(CPPFLAGS, [-D_REENTRANT -D_GNU_SOURCE -DHURD])
+ ;;
*-next-nextstep*)
APR_SETIFNULL(CFLAGS, [-O])
APR_ADDTO(CPPFLAGS, [-DNEXT])