httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject Re: cvs commit: httpd-2.0/modules/aaa config.m4
Date Sun, 19 Aug 2001 20:34:04 GMT
jerenkrantz@apache.org writes:

> jerenkrantz    01/08/16 17:31:50
> 
>   Modified:    .        CHANGES acinclude.m4
>                modules/aaa config.m4
>   Log:
>   Fix --enable-modules=all breakage with mod_auth_db and mod_auth_digest
>   by allowing a module to disable itself if its prerequisites are not met.

>   Index: config.m4
>   ===================================================================
>   RCS file: /home/cvs/httpd-2.0/modules/aaa/config.m4,v
>   retrieving revision 1.42
>   retrieving revision 1.43
>   diff -u -r1.42 -r1.43
>   --- config.m4	2001/05/12 03:48:30	1.42
>   +++ config.m4	2001/08/17 00:31:50	1.43
>   @@ -10,11 +10,15 @@

>   -APACHE_MODULE(auth_digest, RFC2617 Digest authentication, , , most)
>   +APACHE_MODULE(auth_digest, RFC2617 Digest authentication, , , most, [
>   +  AC_TRY_COMPILE([#include <apr.h>], 
>   +                 [#if !APR_HAS_RANDOM #error You need APR random support to use auth_digest.
#endif],,
>   +                 enable_auth_digest=no)
>   +])

You aren't creating a valid test to compile.

>From config.log...

configure:3279: checking whether to enable mod_auth_digest
configure:3320: gcc -c -DAPACHE_XLATE -Wall -g -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
-pthread -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -DAP_DEBUG
conftest.c 1>&5
configure:3314: apr.h: No such file or directory
configure:3316: parse error
configure:3316: unterminated `#if' conditional
configure: failed program was:
#line 3313 "configure"
#include "confdefs.h"
#include <apr.h>
int main() {
#if !APR_HAS_RANDOM #error You need APR random support to use auth_digest. #endif
; return 0; }
configure:3331: checking whether to enable mod_auth_digest 

mod_auth_digest is dead now (and I have a bazillion regression test
failures to waide through).

-- 
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message