joes 2004/07/16 13:27:02
Modified: . acinclude.m4
src Makefile.am
Log:
Add -pg to --enable-profile options for folks profiling with dprof (requires
static linking because dprof doesn't profile shared libs).
Revision Changes Path
1.28 +1 -1 httpd-apreq-2/acinclude.m4
Index: acinclude.m4
===================================================================
RCS file: /home/cvs/httpd-apreq-2/acinclude.m4,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- acinclude.m4 16 Jul 2004 17:12:36 -0000 1.27
+++ acinclude.m4 16 Jul 2004 20:27:02 -0000 1.28
@@ -1,7 +1,7 @@
AC_DEFUN([AC_APREQ], [
AC_ARG_ENABLE(profile,
- AC_HELP_STRING([--enable-profile],[compile libapreq2 with
"-fprofile-arcs -ftest-coverage" for gcov/gprof]),
+ AC_HELP_STRING([--enable-profile],[compile libapreq2 with
"-pg -fprofile-arcs -ftest-coverage" for gcov/gprof]),
[PROFILE=$enableval],[PROFILE="no"])
AC_ARG_ENABLE(perl_glue,
AC_HELP_STRING([--enable-perl-glue],[build perl modules
Apache::Request and Apache::Cookie]),
1.21 +1 -1 httpd-apreq-2/src/Makefile.am
Index: Makefile.am
===================================================================
RCS file: /home/cvs/httpd-apreq-2/src/Makefile.am,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- Makefile.am 16 Jul 2004 17:12:16 -0000 1.20
+++ Makefile.am 16 Jul 2004 20:27:02 -0000 1.21
@@ -14,7 +14,7 @@
if ENABLE_PROFILE
-AM_CFLAGS= -fprofile-arcs -ftest-coverage
+AM_CFLAGS= -pg -fprofile-arcs -ftest-coverage
clean-local:
-rm *.bb *.bbg *.da *.gcov