trawick 01/08/15 04:57:09
Modified: build apr_hints.m4
Log:
get rid of boatloads of warnings on Darwin
apparently, cc first tries an Apple-provided cpp which barfs
on a lot of C stuff in our code; when it barfs, cc backs off
to the GNU cpp; this avoids trying the Apple-provided cpp
first
Revision Changes Path
1.18 +1 -1 apr/build/apr_hints.m4
Index: apr_hints.m4
===================================================================
RCS file: /home/cvs/apr/build/apr_hints.m4,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- apr_hints.m4 2001/08/05 23:05:37 1.17
+++ apr_hints.m4 2001/08/15 11:57:09 1.18
@@ -162,7 +162,7 @@
APR_ADDTO(CPPFLAGS, [-DRHAPSODY])
;;
*-apple-darwin*)
- APR_ADDTO(CPPFLAGS, [-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK])
+ APR_ADDTO(CPPFLAGS, [-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
-traditional-cpp])
;;
*-dec-osf*)
APR_ADDTO(CPPFLAGS, [-DOSF1])