summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-28 11:54:34 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-28 11:54:34 +0000
commitb44a5205f7f2f072e0154ebbfede6937a4d82abf (patch)
treefb8ea5e2162de024ca56057e5f8110e97196399f /configure.ac
parent94bfc28855393a1a688aa5fdc3339b9e2139e10a (diff)
downloadrsyslog-b44a5205f7f2f072e0154ebbfede6937a4d82abf.tar.gz
rsyslog-b44a5205f7f2f072e0154ebbfede6937a4d82abf.tar.xz
rsyslog-b44a5205f7f2f072e0154ebbfede6937a4d82abf.zip
- added "runtime instrumentation" feature to ./configure
- some more cleanup
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ff043c86..63787560 100644
--- a/configure.ac
+++ b/configure.ac
@@ -270,6 +270,20 @@ if test "$enable_debug" = "no"; then
AC_DEFINE(NDEBUG, 1, [Defined if debug mode is disabled.])
fi
+# runtime instrumentation
+AC_ARG_ENABLE(rtinst,
+ [AS_HELP_STRING([--enable-rtinst],[Enable runtime instrumentation mode @<:@default=no@:>@])],
+ [case "${enableval}" in
+ yes) enable_rtinst="yes" ;;
+ no) enable_rtinst="no" ;;
+ *) AC_MSG_ERROR(bad value ${enableval} for --enable-rtinst) ;;
+ esac],
+ [enable_rtinst="no"]
+)
+if test "$enable_rtinst" = "yes"; then
+ AC_DEFINE(RTINST, 1, [Defined if runtime instrumentation mode is enabled.])
+fi
+
# mudflap
AC_ARG_ENABLE(mudflap,
[AS_HELP_STRING([--enable-mudflap],[Enable mudflap @<:@default=no@:>@])],
@@ -429,5 +443,6 @@ echo "Large file support enabled: $enable_largefile"
echo "Networking support enabled: $enable_inet"
echo "Enable GSSAPI Kerberos 5 support: $want_gssapi_krb5"
echo "Debug mode enabled: $enable_debug"
+echo "Runtime Instrumentation enabled: $enable_rtinst"
echo "Mudflap enabled: $enable_mudflap"