diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mappers/config9.m4 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/mappers/config9.m4 b/modules/mappers/config9.m4 index d4401cdbfa..0f0722e85e 100644 --- a/modules/mappers/config9.m4 +++ b/modules/mappers/config9.m4 @@ -34,6 +34,13 @@ case "x$enable_so" in ;; esac +dnl mod_so can only be built statically. If the user wants modules to +dnl be built as DSOs by default (eg. ./configure --enable-mods-shared=most) +dnl then we must override the default here. +if test "x$enable_so" = "xyes"; then + enable_so="static" +fi + if test "$sharedobjs" = "yes"; then if test $ac_cv_define_APR_HAS_DSO = "no"; then AC_MSG_ERROR([shared objects have been requested but cannot be built since mod_so cannot be built]) |