]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix building with DSO support. If any module is configured to be
authorRyan Bloom <rbb@apache.org>
Thu, 1 Jun 2000 01:01:16 +0000 (01:01 +0000)
committerRyan Bloom <rbb@apache.org>
Thu, 1 Jun 2000 01:01:16 +0000 (01:01 +0000)
compiled for shared support then APR_HAS_DSO is enabled and -ldl is
added to the LIBS variable.  -ldl may need to be modified based on
platform.  If no modules are designated as shared then APR_HAS_DSO is
disabled and nothing is added to LIBS.  In basic testing this compiled
without errors or warnings.

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

modules/aaa/config.m4

index 7555235e4f1ee40c53aaccb3aee7cd0f668df615..d0898a7a4ede505c07ebf3de6f1c7760d9edcdb3 100644 (file)
@@ -57,9 +57,12 @@ APACHE_CHECK_STANDARD_MODULE(echo, ECHO server, , yes)
 
 APACHE_MODPATH_FINISH
 
+ac_cv_enable_dso="no"
 if test "$sharedobjs" = "yes"; then
     LIBS="$LIBS -ldl"
     LTFLAGS="$LTFLAGS -export-dynamic"
+    ac_cv_enable_dso="yes"
 fi
+AC_CACHE_SAVE
     
 APACHE_SUBST(STANDARD_LIBS)