]> granicus.if.org Git - apache/commitdiff
If shared modules are requested and mod_so is not available, produce a
authorJustin Erenkrantz <jerenkrantz@apache.org>
Sun, 11 Nov 2001 01:58:12 +0000 (01:58 +0000)
committerJustin Erenkrantz <jerenkrantz@apache.org>
Sun, 11 Nov 2001 01:58:12 +0000 (01:58 +0000)
fatal config-time error.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91844 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
STATUS
modules/mappers/config9.m4

diff --git a/CHANGES b/CHANGES
index 065738186156dce70b55f2a0a1cb252aab439168..e0f67eeb161cfb089fd7030df8cc1db1552d5f4a 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,8 @@
 Changes with Apache 2.0.29-dev
 
+  *) If shared modules are requested and mod_so is not available,
+     produce a fatal config-time error.  [Justin Erenkrantz]
+
   *) Improve http2env's performance by cutting the work it has to
      do.  [Brian Pane <bpane@pacbell.net>]
 
diff --git a/STATUS b/STATUS
index b0d946d302826e6b1d35b98de193ddaa840e938a..5a6a4a8fb0c1ac7944a639fdf93fcdec735aa00e 100644 (file)
--- a/STATUS
+++ b/STATUS
@@ -1,5 +1,5 @@
 APACHE 2.0 STATUS:                                             -*-text-*-
-Last modified at [$Date: 2001/11/11 01:26:27 $]
+Last modified at [$Date: 2001/11/11 01:58:12 $]
 
 Release:
 
@@ -305,12 +305,6 @@ RELEASE NON-SHOWSTOPPERS BUT WOULD BE REAL NICE TO WRAP THESE UP:
         - Bring the Win9xConHook.dll from 1.3 into 2.0 (no sense till it
         actually works) and add in a splash of Win9x service code.
 
-    * When --enable-modules=most or --enable-mods-shared=most is passed
-      to the configure script it is still possible to enable many of the
-      modules while mod_so itself is not buildable (for whatever reason,
-      like not having APR_HAS_DSO). We need to emit an error message
-      and fail the configure script at this point.
-
 PRs that have been suspended forever waiting for someone to
 put them into 'the next release':
 
index 4d56599119c9a998caf05e8973f16613d19a819e..54a5aff6f948f2f9efede4fde116a0dd92882924 100644 (file)
@@ -33,9 +33,12 @@ AC_TRY_COMPILE([#include <apr.h>], [
 ], ap_enable_so="static", [
 if test "$enable_so" = "static"; then
     AC_MSG_ERROR([mod_so has been requested but cannot be built on your system])
+else if test "$sharedobjs" = "yes"; then
+    AC_MSG_ERROR([shared objects have been requested but cannot be built since mod_so cannot be built])
 else
     ap_enable_so="no"
 fi
+fi
 ])
 CPPFLAGS=$ap_old_cppflags