httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@hyperreal.org
Subject cvs commit: apache-2.0/src/modules/standard config.m4
Date Mon, 06 Dec 1999 03:34:36 GMT
manoj       99/12/05 19:34:36

  Modified:    src/modules/standard config.m4
  Log:
  Move the default status of module inclusion/exclusion into the
  STANDARD_MODULE macro, to make it a little more maintainable.
  
  Revision  Changes    Path
  1.6       +4 -5      apache-2.0/src/modules/standard/config.m4
  
  Index: config.m4
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/config.m4,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -d -u -r1.5 -r1.6
  --- config.m4	1999/12/06 02:36:02	1.5
  +++ config.m4	1999/12/06 03:34:35	1.6
  @@ -1,6 +1,4 @@
   dnl modules enabled in this directory by default
  -default_env=yes
  -default_log_config=yes
   
   STANDARD_LIBS=""
   AC_DEFUN(STANDARD_MODULE,[
  @@ -8,12 +6,13 @@
     STANDARD_LIBS="$STANDARD_LIBS libapachemod_$1.la"
   ])
   
  +dnl AC_DEFUN(modulename, modulestructname, defaultonoroff)
   dnl XXX - Need to add help text to --enable-module flags
   dnl XXX - Need to add support for per-module config
   AC_DEFUN(APACHE_CHECK_STANDARD_MODULE, [
       AC_MSG_CHECKING([whether to enable mod_$1])
       AC_ARG_ENABLE(patsubst([$1], _, -), [  --enable-]patsubst([$1], _, -), [],
  -        [enable_$1=$default_$1])
  +        [enable_$1=]ifelse([$3], , no, [$3]))
       if test "$enable_[$1]" != "no" ; then
           MODLIST="$MODLIST ifelse([$2], , [$1], [$2])"
           STANDARD_MODULE([$1])
  @@ -21,8 +20,8 @@
       AC_MSG_RESULT([$enable_$1])
   ])
   
  -APACHE_CHECK_STANDARD_MODULE(env)
  -APACHE_CHECK_STANDARD_MODULE(log_config, config_log)
  +APACHE_CHECK_STANDARD_MODULE(env, , no)
  +APACHE_CHECK_STANDARD_MODULE(log_config, config_log, yes)
   
   dnl ## mod_usertrack.c
   AC_CHECK_HEADERS(sys/times.h)
  
  
  

Mime
View raw message