httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/extra config.m4
Date Wed, 15 Mar 2000 21:55:21 GMT
rbb         00/03/15 13:55:21

  Modified:    src      CHANGES
               src/modules/extra config.m4
  Log:
  Extend --with-module capability.  This lets you add multiple modules
  in the arguments.
  
  Revision  Changes    Path
  1.28      +4 -0      apache-2.0/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/CHANGES,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- CHANGES	2000/03/14 19:42:36	1.27
  +++ CHANGES	2000/03/15 21:55:19	1.28
  @@ -1,5 +1,9 @@
   Changes with Apache 2.0a2-dev
   
  +  *) Extend external module capability.  To use this, you call
  +     configure with --with-module=path/to/mod1,path/to/mod2,etc.
  +     [Ryan Bloom]
  +
     *) Backported the various "default charset" fixes from 1.3.12,
        including the AddDefaultCharset directive. [Jim Jagielski]
   
  
  
  
  1.4       +15 -12    apache-2.0/src/modules/extra/config.m4
  
  Index: config.m4
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/extra/config.m4,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- config.m4	2000/03/15 18:26:52	1.3
  +++ config.m4	2000/03/15 21:55:20	1.4
  @@ -10,22 +10,25 @@
     if test ! -f $withval; then
       AC_MSG_RESULT(error in command)
     fi
  -  modfilec=`echo $withval | sed -e 's;^.*/;;'`
  -  modfileo=`echo $withval | sed -e 's;^.*/;;' -e 's;\.c$;.o;'`
  -  if test "x$withval" != "xmodules/extra/$modfilec"; then
  -      cp $withval modules/extra/$modfilec
  -  fi
  -  module=`echo $withval | sed -e 's;.*/mod_\(.*\).c;\1;'`
  -  objects="mod_$module.lo"
  -  libname="libapachemod_$module.la"
  -  BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
  -  modpath_static="$modpath_static $libname"
  -  cat >>$modpath_current/modules.mk<<EOF
  +  IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
  +  for pkg in $withval; do
  +    modfilec=`echo $withval | sed -e 's;^.*/;;'`
  +    modfileo=`echo $withval | sed -e 's;^.*/;;' -e 's;\.c$;.o;'`
  +    if test "x$withval" != "xmodules/extra/$modfilec"; then
  +        cp $withval modules/extra/$modfilec
  +    fi
  +    module=`echo $withval | sed -e 's;.*/mod_\(.*\).c;\1;'`
  +    objects="mod_$module.lo"
  +    libname="libapachemod_$module.la"
  +    BUILTIN_LIBS="$BUILTIN_LIBS $modpath_current/$libname"
  +    modpath_static="$modpath_static $libname"
  +    cat >>$modpath_current/modules.mk<<EOF
   $libname: $objects
   	\$(LINK) $objects
   EOF
   
  -  MODLIST="$MODLIST $module"
  +    MODLIST="$MODLIST $module"
  +  done
     AC_MSG_RESULT(added $withval)
     ],
     [ AC_MSG_RESULT(no extra modules) 
  
  
  

Mime
View raw message