summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorTom Lane2007-09-21 02:33:46 +0000
committerTom Lane2007-09-21 02:33:46 +0000
commit017daed0dd8bc158b97fe5c6ecb839a56905fc52 (patch)
tree0206668136d7d34f029c6a6d4d6de4b6ae220863 /configure.in
parent02185a07161e1e9fb8a50bc50d163830bb7a860a (diff)
If we're gonna provide an --enable-profiling configure option, surely
it ought to know that you need -DLINUX_PROFILE on Linux.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index 10a87348b4..c4c0d8f4ba 100644
--- a/configure.in
+++ b/configure.in
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-dnl $PostgreSQL: pgsql/configure.in,v 1.526 2007/09/12 14:28:55 tgl Exp $
+dnl $PostgreSQL: pgsql/configure.in,v 1.527 2007/09/21 02:33:46 tgl Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
@@ -307,8 +307,8 @@ fi
if test "$enable_profiling" = yes && test "$ac_cv_prog_cc_g" = yes; then
if test "$GCC" = yes; then
AC_DEFINE([PROFILE_PID_DIR], 1,
- [Define to 1 to enable profiling. (--enable-profiling)])
- CFLAGS="$CFLAGS -pg"
+ [Define to 1 to allow profiling output to be saved separately for each process.])
+ CFLAGS="$CFLAGS -pg $PLATFORM_PROFILE_FLAGS"
else
AC_MSG_ERROR([--enable-profiling is supported only when using GCC])
fi