From: Justin Erenkrantz Date: Sun, 11 Nov 2001 01:58:12 +0000 (+0000) Subject: If shared modules are requested and mod_so is not available, produce a X-Git-Tag: 2.0.29~195 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8fec8816d9bc10aafda0ca233b55889afb0acb5c;p=apache If shared modules are requested and mod_so is not available, produce a fatal config-time error. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91844 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 0657381861..e0f67eeb16 100644 --- 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 ] diff --git a/STATUS b/STATUS index b0d946d302..5a6a4a8fb0 100644 --- 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': diff --git a/modules/mappers/config9.m4 b/modules/mappers/config9.m4 index 4d56599119..54a5aff6f9 100644 --- a/modules/mappers/config9.m4 +++ b/modules/mappers/config9.m4 @@ -33,9 +33,12 @@ AC_TRY_COMPILE([#include ], [ ], 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