httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: httpd-2.0/modules/mappers config9.m4
Date Wed, 10 Oct 2001 05:04:41 GMT
jerenkrantz    01/10/09 22:04:41

  Modified:    modules/mappers config9.m4
  Allow mod_so to be enabled by default even if no shared libraries from the
  core are requested.
  If you want to disable shared library support, pass --disable-so to
  configure (as always).  This will enforce that your httpd can NOT use
  shared libraries - which may be a good thing for you to do.
  Justin added the APR_HAS_DSO check per discussion on-list between Aaron,
  Ryan, Greg, and the rest of the peanut gallery.  This should allow us
  to not build mod_so when it isn't supported.  However, the rest of the
  configure scripts need to know that shared objects aren't supported and
  complain accordingly.  (sharedobjs = yes, error out?)
  Submitted by:	Aaron Bannert <>
  Reviewed by:	Justin Erenkrantz
  Revision  Changes    Path
  1.6       +10 -5     httpd-2.0/modules/mappers/config9.m4
  Index: config9.m4
  RCS file: /home/cvs/httpd-2.0/modules/mappers/config9.m4,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- config9.m4	2001/10/03 17:47:51	1.5
  +++ config9.m4	2001/10/10 05:04:40	1.6
  @@ -17,11 +17,16 @@
  -if test "$sharedobjs" = "yes"; then
  -    APACHE_MODULE(so, DSO capability, , , static)
  -    APACHE_MODULE(so, DSO capability, , , no)
  +AC_TRY_COMPILE([#include <apr.h>], 
  +[#if !APR_HAS_DSO
  +#error You need APR DSO support to use mod_so. 
  +APACHE_MODULE(so, DSO capability, , , $ap_enable_so)
   dnl ### why save the cache?

View raw message