928e651 Allow use of unthreaded Apache

Authored and Committed by rmeggins 14 years ago
    Allow use of unthreaded Apache
    Allow the use of an Apache without threading support.  The mod_admserv
    authorization cache will not work correctly without threading support.
    This means that most Console and Admin Server tasks will fail if the
    configuration directory server is not available.  If an Apache without
    threading is found, configure will print an error and abort.  You can
    force the use of an unthreaded Apache by using the --disable-threading
    configure option.  Example:
     configure --with-httpd=/usr/sbin/httpd # non-threaded
     ...
     checking for /usr/sbin/httpd with threading support... configure: error: threading model not supported - use --disable-threading to force use of unthreaded model
     configure aborts
    Threading explicitly disabled:
     configure --disable-threading --with-httpd=/usr/sbin/httpd # non-threaded
     ...
     checking for --enable-threading... no
     checking for /usr/sbin/httpd with threading support... NOTICE - threading support explicitly disabled - Admin Server authorization cache will not work correctly
     ...
    configure detects that /usr/sbin/httpd does not use the Worker model (that
    is, threading support) and prints a warning.
    
    Also fix some minor compilation warnings.
    
        
file modified
+66 -28
file modified
+1 -0
file modified
+25 -0
file modified
+6 -5