dreid 01/07/23 05:30:52
Modified: . configure.in
Log:
BeOS can have some very nice and useful memory checking routines, they're
built in to newer kernels and can be switched on a simple export on the
command line, but to make use we need to build with some extra flags. this
patch basically adds those flags when we're using beos and have enabled
their usage. AFAIK these are beos specific so that's why they're protected.
Revision Changes Path
1.341 +6 -0 apr/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/apr/configure.in,v
retrieving revision 1.340
retrieving revision 1.341
diff -u -r1.340 -r1.341
--- configure.in 2001/07/21 06:41:09 1.340
+++ configure.in 2001/07/23 12:30:52 1.341
@@ -158,6 +158,12 @@
fi
)dnl
+if test "$host" = "i586-pc-beos"; then
+ AC_ARG_ENABLE(malloc-debug,[ --enable-malloc-debug Switch on
malloc_debug for BeOS],
+ APR_ADDTO(CPPFLAGS, -fcheck-memory-usage -D_KERNEL_MODE)
+ ) dnl
+fi
+
POOLS_TARGET=apr_pools.lo
AC_ARG_ENABLE(sms, [ --enable-sms Build APR to use sms emulating
pools],
echo "************* WARNING ***************"