You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by dr...@apache.org on 2001/05/09 14:13:30 UTC

cvs commit: apr/build apr_hints.m4

dreid       01/05/09 05:13:30

  Modified:    build    apr_hints.m4
  Log:
  In trying to get as many modules as possible building this flag is required
  to get mod_auth_dbm building.  Is this the correct place for it to be
  defined though?
  
  Revision  Changes    Path
  1.11      +1 -1      apr/build/apr_hints.m4
  
  Index: apr_hints.m4
  ===================================================================
  RCS file: /home/cvs/apr/build/apr_hints.m4,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- apr_hints.m4	2001/04/29 22:11:29	1.10
  +++ apr_hints.m4	2001/05/09 12:13:27	1.11
  @@ -362,7 +362,7 @@
                   APR_ADDTO(LIBS, [-lbind -lsocket -lbe -lroot])
                   ;;
   	esac
  -	APR_ADDTO(CPPFLAGS, [-DSIGPROCMASK_SETS_THREAD_MASK])
  +	APR_ADDTO(CPPFLAGS, [-DSIGPROCMASK_SETS_THREAD_MASK -DAP_AUTH_DBM_USE_APR])
           ;;
       4850-*.*)
   	APR_ADDTO(CPPFLAGS, [-DSVR4 -DMPRAS])
  
  
  

Re: cvs commit: apr/build apr_hints.m4

Posted by Jeff Trawick <tr...@bellsouth.net>.
dreid@apache.org writes:

> dreid       01/05/09 05:13:30
> 
>   Modified:    build    apr_hints.m4
>   Log:
>   In trying to get as many modules as possible building this flag is required
>   to get mod_auth_dbm building.  Is this the correct place for it to be
>   defined though?
...
>  --- apr_hints.m4	2001/04/29 22:11:29	1.10
>  +++ apr_hints.m4	2001/05/09 12:13:27	1.11
>  @@ -362,7 +362,7 @@
>                   APR_ADDTO(LIBS, [-lbind -lsocket -lbe -lroot])
>                   ;;
>   	esac
>  -	APR_ADDTO(CPPFLAGS, [-DSIGPROCMASK_SETS_THREAD_MASK])
>  +	APR_ADDTO(CPPFLAGS, [-DSIGPROCMASK_SETS_THREAD_MASK -DAP_AUTH_DBM_USE_APR])
>           ;;

I would think that it should be in modules/aaa/config.m4.  Look at 

httpd-2.0/modules/mappers/config9.m4:  APR_ADDTO(CFLAGS,-DNO_DBM_REWRITEMAP)

for how something is added to CFLAGS when mod_rewrite is selected.

I wonder if AP_AUTH_DBM_USE_APR could be turned on whenever we don't
find a "native" db interface (but then I don't know what I'm talking
about).

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