apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mo DeJong <mdej...@cygnus.com>
Subject PATCH: Use --enable-debug instead of --with-debug
Date Sun, 18 Mar 2001 01:31:15 GMT
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


Mime
View raw message