[omniORB] [PATCH] Add --disable-thread-tracing configure switch

Nathaniel Smith njs@uclink4.berkeley.edu
Sat, 23 Mar 2002 21:13:42 -0800


I've been trying to keep parallel omniORB build trees, one with thread
tracing turned on for testing, and one with thread tracing turned off
for profiling.  Modifying tracedthread.h before every build gets old
fast, so here's a patch to add a --disable-thread-tracing option to
configure.  Basically, I just moved the OMNIORB_ENABLE_LOCK_TRACING
#define to omniconfig.h, and added a macro to acinclude.m4 to handle
the command line option.  (For the moment it defaults to turning
thread tracing on, but I've included (commented out) the code to
make it default off, which should be useful for the release.)

You have to run 'aclocal; autoheader; autoconf' after applying the
patch to make it take effect.

Tested with automake version 1.50 and autoconf 2.52 on Debian
unstable.

-- Nathaniel

-- 
The Universe may  /  Be as large as they say
But it wouldn't be missed  /  If it didn't exist.
  -- Piet Hein

This email may be read aloud.