apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r719466 - /apr/apr-util/trunk/build/dso.m4
Date Fri, 21 Nov 2008 04:03:55 GMT
Author: wrowe
Date: Thu Nov 20 20:03:54 2008
New Revision: 719466

URL: http://svn.apache.org/viewvc?rev=719466&view=rev
Log:
Avert setting APU_DSO_BUILD if APR_HAS_DSO is false.

Modified:
    apr/apr-util/trunk/build/dso.m4

Modified: apr/apr-util/trunk/build/dso.m4
URL: http://svn.apache.org/viewvc/apr/apr-util/trunk/build/dso.m4?rev=719466&r1=719465&r2=719466&view=diff
==============================================================================
--- apr/apr-util/trunk/build/dso.m4 (original)
+++ apr/apr-util/trunk/build/dso.m4 Thu Nov 20 20:03:54 2008
@@ -24,8 +24,10 @@
      APR_HELP_STRING([--disable-util-dso],
        [disable DSO build of modular components (crypto, dbd, ldap)]))
 
-  if test "$enable_util_dso" = "no"; then
-     # Statically link the DBD drivers:
+  apr_h=`$apr_config --includedir`/apr.h
+  aprdso=`awk '/^#define APR_HAS_DSO/ { print @S|@3; }' $apr_h`
+
+  if test "$enable_util_dso" = "no" || "$aprdso" = "0"; then
 
      objs=
      test $apu_have_openssl = 1 && objs="$objs crypto/apr_crypto_openssl.lo"



Mime
View raw message