dreid 01/08/02 12:51:57
Modified: . configure.in
Log:
Some small changes to the profile options...
- remove the -g so we don't duplicate by hvaing -pg and -g
- add the correct flags to get it all working correctly on beos
Revision Changes Path
1.353 +6 -0 apr/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/apr/configure.in,v
retrieving revision 1.352
retrieving revision 1.353
diff -u -r1.352 -r1.353
--- configure.in 2001/08/01 22:57:32 1.352
+++ configure.in 2001/08/02 19:51:57 1.353
@@ -158,6 +158,12 @@
AC_ARG_ENABLE(profile,[ --enable-profile Turn on profiling for the
build (GCC)],
if test "$GCC" = "yes"; then
APR_ADDTO(CFLAGS, -pg)
+ APR_REMOVEFROM(CFLAGS, -g)
+ if test "$host" = "i586-pc-beos"; then
+ APR_REMOVEFROM(CFLAGS, -O2)
+ APR_ADDTO(CFLAGS, -O1)
+ APR_ADDTO(LDFLAGS, -p)
+ fi
fi
)dnl