diff options
author | Ryan Bloom <rbb@apache.org> | 2000-06-05 18:51:06 +0200 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2000-06-05 18:51:06 +0200 |
commit | bed69745732e2946c11b4fca75c717be5e97d9a0 (patch) | |
tree | b87d32b3f2d6844abe6fda886c49af6e4f854016 /modules/aaa | |
parent | add self (diff) | |
download | apache2-bed69745732e2946c11b4fca75c717be5e97d9a0.tar.xz apache2-bed69745732e2946c11b4fca75c717be5e97d9a0.zip |
Fix mod_so handling. Basically, if --enable-so or
--enable-some-module=shared is specified on the ./configure line, then
mod_so is included in the build, -ldl is added to LIBS, and --enable-dso is
added to APR's configure line. Otherwise, mod_so is turned off, -ldl is
not added, and APR is specifically told to build without DSO support.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85418 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | modules/aaa/config.m4 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/aaa/config.m4 b/modules/aaa/config.m4 index 858f394e11..627b2cfe92 100644 --- a/modules/aaa/config.m4 +++ b/modules/aaa/config.m4 @@ -54,7 +54,6 @@ APACHE_CHECK_STANDARD_MODULE(unique_id, per-request unique ids, , no) APACHE_CHECK_STANDARD_MODULE(setenvif, basing ENV vars on headers, , yes) APACHE_CHECK_STANDARD_MODULE(echo, ECHO server, , yes) -APACHE_MODPATH_FINISH ac_cv_enable_dso="no" if test "$sharedobjs" = "yes"; then @@ -64,7 +63,14 @@ if test "$sharedobjs" = "yes"; then APACHE_CHECK_STANDARD_MODULE(so, DSO capability, , yes) else APACHE_CHECK_STANDARD_MODULE(so, DSO capability, , no) + if test "$sharedobjs" = "yes"; then + LIBS="$LIBS -ldl" + LTFLAGS="$LTFLAGS -export-dynamic" + ac_cv_enable_dso="yes" + fi fi AC_CACHE_SAVE + +APACHE_MODPATH_FINISH APACHE_SUBST(STANDARD_LIBS) |