By default disable USE_USER_EVENT_LOGGING.
Only trace when ENABLE_TRACE is defined externally in the Makefile.
Only monitor if USE_USER_EVENT_LOGGING is defined.
Only monitor if USE_USER_EVENT_LOGGING is defined.
Add option --disable-setaffinity. Move AC_USE_SYSTEM_EXTENSIONS near
the top to prevent autoconf warnings.