You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Life is hard, and then you die." <ro...@innovation.ch> on 2000/03/03 08:15:05 UTC

module name mismatch in src/configure

In apache-2.0/src/configure some of the modules names put into
modules.c don't match those the modules declare themselves.
Examples:

src/configure has
    MODLIST="$MODLIST auth_anon"
    MODLIST="$MODLIST auth_dbm"
    MODLIST="$MODLIST auth_db"
    MODLIST="$MODLIST auth_digest"
    MODLIST="$MODLIST config_log"

but
    mod_auth_anon.c:module MODULE_VAR_EXPORT anon_auth_module =
    mod_auth_db.c:module db_auth_module =
    mod_auth_dbm.c:module dbm_auth_module =
    mod_auth_digest.c:module MODULE_VAR_EXPORT digest_auth_module =
    mod_log_config.c:module MODULE_VAR_EXPORT config_log_module =

(e.g. auth_anon instead anon_auth). Should configure be updated,
or should the module names be changed to be more standard (i.e.
filename - mod_ + _module = modulename)?


  Cheers,

  Ronald


Re: module name mismatch in src/configure

Posted by Greg Stein <gs...@lyra.org>.
On Thu, 2 Mar 2000, Life is hard, and then you die. wrote:
> 
> In apache-2.0/src/configure some of the modules names put into
> modules.c don't match those the modules declare themselves.
> Examples:
> 
> src/configure has
>     MODLIST="$MODLIST auth_anon"
>     MODLIST="$MODLIST auth_dbm"
>     MODLIST="$MODLIST auth_db"
>     MODLIST="$MODLIST auth_digest"
>     MODLIST="$MODLIST config_log"
> 
> but
>     mod_auth_anon.c:module MODULE_VAR_EXPORT anon_auth_module =
>     mod_auth_db.c:module db_auth_module =
>     mod_auth_dbm.c:module dbm_auth_module =
>     mod_auth_digest.c:module MODULE_VAR_EXPORT digest_auth_module =
>     mod_log_config.c:module MODULE_VAR_EXPORT config_log_module =
> 
> (e.g. auth_anon instead anon_auth). Should configure be updated,
> or should the module names be changed to be more standard (i.e.
> filename - mod_ + _module = modulename)?

I think the variables in the modules should be updated. The naming of the
files is pretty regular; let's get the modules to match.

This will improve the auto-generation of export-symbol files (.def and
.exp).

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/