]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix DSO enabling logic. Basically if --enable-dso was specified on the
authorRyan Bloom <rbb@apache.org>
Thu, 1 Jun 2000 15:45:18 +0000 (15:45 +0000)
committerRyan Bloom <rbb@apache.org>
Thu, 1 Jun 2000 15:45:18 +0000 (15:45 +0000)
command line but the cache had DSO off, we used to turn DSO off.  This has
been fixed with this patch.  Also, if we specify ANY Apache module as
being compiled shared, then we automatically turn on mod_so.

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

modules/aaa/config.m4

index d0898a7a4ede505c07ebf3de6f1c7760d9edcdb3..858f394e113c4d97b8ed0c59489ab57c204cb34c 100644 (file)
@@ -51,7 +51,6 @@ APACHE_CHECK_STANDARD_MODULE(usertrack, user-session tracking, , no, [
 ])
 
 APACHE_CHECK_STANDARD_MODULE(unique_id, per-request unique ids, , no)
-APACHE_CHECK_STANDARD_MODULE(so, DSO capability, , no)
 APACHE_CHECK_STANDARD_MODULE(setenvif, basing ENV vars on headers, , yes)
 APACHE_CHECK_STANDARD_MODULE(echo, ECHO server, , yes)
 
@@ -62,6 +61,9 @@ if test "$sharedobjs" = "yes"; then
     LIBS="$LIBS -ldl"
     LTFLAGS="$LTFLAGS -export-dynamic"
     ac_cv_enable_dso="yes"
+    APACHE_CHECK_STANDARD_MODULE(so, DSO capability, , yes)
+else
+    APACHE_CHECK_STANDARD_MODULE(so, DSO capability, , no)
 fi
 AC_CACHE_SAVE