From 723fe62b1dd3731ae6cb2857256bffc1eaabc1c9 Mon Sep 17 00:00:00 2001 From: bnicholes Date: Tue, 25 Nov 2008 18:17:12 +0000 Subject: Turn off the DSO build for netware and revert the previous changes that tried to make it work. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@720558 13f79535-47bb-0310-9956-ffa450edef68 --- include/private/apu_config.hnw | 2 +- ldap/apr_ldap_stub.c | 4 +--- misc/apu_dso.c | 5 ----- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/include/private/apu_config.hnw b/include/private/apu_config.hnw index 9faf4042..9c6c73e4 100644 --- a/include/private/apu_config.hnw +++ b/include/private/apu_config.hnw @@ -25,7 +25,7 @@ #define APU_CONFIG_H /* Always compile Netware with DSO support for .nlm builds */ -#define APU_DSO_BUILD 1 +#define APU_DSO_BUILD 0 /* * NetWare does not have GDBM, and we always use the bundled (new) Expat diff --git a/ldap/apr_ldap_stub.c b/ldap/apr_ldap_stub.c index 149b2361..97c15514 100644 --- a/ldap/apr_ldap_stub.c +++ b/ldap/apr_ldap_stub.c @@ -45,9 +45,7 @@ static apr_status_t load_ldap(apr_pool_t *pool) return rv; } -#if defined(NETWARE) - modname = "aprlib.nlm"; -#elif defined(WIN32) +#if defined(WIN32) modname = "apr_ldap-" APU_STRINGIFY(APU_MAJOR_VERSION) ".dll"; #else modname = "apr_ldap-" APU_STRINGIFY(APU_MAJOR_VERSION) ".so"; diff --git a/misc/apu_dso.c b/misc/apu_dso.c index 9ea98175..383c5157 100644 --- a/misc/apu_dso.c +++ b/misc/apu_dso.c @@ -82,11 +82,6 @@ apr_status_t apu_dso_init(apr_pool_t *pool) /* Top level pool scope, need process-scope lifetime */ for (parent = global = pool; parent; parent = apr_pool_parent_get(global)) -#ifdef NETWARE - if (parent == global) { - break; - } -#endif global = parent; dsos = apr_hash_make(global); -- cgit v1.2.1