Rici,

   Thanks for the patch... the line numbers were of course different,
   but I integrated the change it implements as you suggested and reran
the
   following configure, which worked:
        CC="xlc_r"; export CC
        CPPFLAGS="-D_THREAD_SAFE"; export CPPFLAGS
        "./configure.new" \
        "--prefix=/usr/local/apache" \
        "--with-mpm=worker" \
        "--without-berkeley-db" \
        "--enable-dav=static" \
        "--enable-dav_fs=static" \
        "--with-ssl=/usr/local/ssl" \
        "--enable-ssl=static" \
        "--with-egd=/etc/entropy" \
        "--with-module=aaa:auth_extern   aaa:dms_apr" \
        "$@" 

  Just for the archives, note "--with-module" can still only be
  used once, but you can specify multiple modules... just 
  separate them with white space.

  Thanks again, Rici... Lets hope they integrate this into
  the base "configure" script.

-tony

-----Original Message-----
From: Rici Lake [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 19, 2004 7:59 AM
To: Bennett, Tony - CNF
Subject: Re: Is there a limit to using "with-module" directive ???


On 19-Oct-04, at 9:22 AM, Bennett, Tony - CNF wrote:

> If it is a limit, then how do I add multiple modules ???

You might find the following patch helpful (I haven't tried it with
2.0.52)

--- httpd-2.0.50/configure      Mon Jun 28 19:11:29 2004
+++ httpd-2.0.50-bak/configure  Wed Aug  4 20:56:04 2004
@@ -13296,7 +13296,8 @@

  # Check whether --with-module or --without-module was given.
  if test "${with_module+set}" = set; then
-  withval="$with_module"
+  withvals="$with_module"
+  for withval in $withvals; do

      modtype=`echo $withval | sed -e's/\(.*\):.*/\1/'`
      pkg=`echo $withval | sed -e's/.*:\(.*\)/\1/'` @@ -13334,6 +13335,7
@@
      MODLIST="$MODLIST $module"
    echo "$as_me:$LINENO: result: added $withval" >&5
  echo "${ECHO_T}added $withval" >&6
+done

  else
     echo "$as_me:$LINENO: result: no extra modules" >&5

Reply via email to