You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Mo DeJong <md...@cygnus.com> on 2001/03/18 02:31:15 UTC

PATCH: Use --enable-debug instead of --with-debug

Hi all.

Attached is a patch that fixes the apr configure script
so that it uses --enable-debug and --enable-maintainer-mode
instead of --with-debug and --with-maintainer-mode.

The AC_ARG_WITH macro should not be used to turn optional
features on. Here is a quick snip from the manual:

"For each external software package that may be used, `configure.in' 
should call AC_ARG_WITH to detect whether the
configure user asked to use it."

Comparing this to the AC_ARG_ENABLE manual entry
shows that the apr usage is not correct:

"For each optional feature, `configure.in' should call
AC_ARG_ENABLE to detect whether the configure user
asked to include it."

Mo DeJong
Red Hat Inc