Ticket #2206 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Update configure script for new msDebug() behavior

Reported by: dmorissette Owned by: dmorissette
Priority: normal Milestone: 5.0 release
Component: Build Problems Version: svn-trunk (development)
Severity: normal Keywords:
Cc:

Description (last modified by dmorissette) (diff)

We need to udpate the configure script to remove -DENABLE_STDERR_DEBUG and update the configure output and docs to be in line with the new behavior of msDebug() introduced by RFC-28.

The main issue being the messages and docs suggesting that msDebug() output defaults to stderr and needs to be enabled by --enable-debug. msDebug() output is no longer optional (it is always compiled in) and there is no default output location (the output location is set by MS_ERRORFILE).

Change History

Changed 6 years ago by dmorissette

  • owner changed from mapserverbugs to dmorissette

Changed 6 years ago by dmorissette

  • description modified (diff)

Changed 6 years ago by hobu

I was thinking we may want to keep --enable-debug/--disable-debug for -g/-03 optimization configuration.

Changed 6 years ago by dmorissette

  • status changed from new to assigned

Definitely. Working on that now.

Changed 6 years ago by dmorissette

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in r6535.

The -DENABLE_STDERR_DEBUG and msDebug-related messages have been removed fron configure.in. The detection of -DNEED_NONBLOCKING_STDERR (Apache 2.0.0-2.0.49 bug) has been moved to the --with-httpd block.

Note: See TracTickets for help on using tickets.