cvsdist 6356941
cvsdist 6356941
There is no need to "suck in" the apr/apr-util symbols when using
cvsdist 6356941
a shared libapr{,util}, it just bloats the symbol table; so don't.
cvsdist 6356941
2bc479e
Upstream-HEAD: needed
0ba3e33
Upstream-2.0: omit
0ba3e33
Upstream-Status: EXPORT_DIRS change is conditional on using shared apr
0ba3e33
439691b
--- httpd-2.0.53/server/main.c.export
439691b
+++ httpd-2.0.53/server/main.c
439691b
@@ -627,28 +627,6 @@
cvsdist 6356941
     return 0; /* Termination 'ok' */
cvsdist 6356941
 }
cvsdist 6356941
 
cvsdist 6356941
-/* force Expat to be linked into the server executable */
cvsdist 6356941
-#if defined(USE_EXPAT) && !defined(SHARED_CORE_BOOTSTRAP)
cvsdist 6356941
-#include "xmlparse.h"
cvsdist 6356941
-const XML_LChar *suck_in_expat(void);
cvsdist 6356941
-const XML_LChar *suck_in_expat(void)
cvsdist 6356941
-{
cvsdist 6356941
-    return XML_ErrorString(XML_ERROR_NONE);
cvsdist 6356941
-}
cvsdist 6356941
-#endif /* USE_EXPAT */
cvsdist 6356941
-
cvsdist 6356941
-#ifndef SHARED_CORE_BOOTSTRAP
cvsdist 6356941
-/*
cvsdist 6356941
- * Force apr_password_validate() into the image so that modules like
cvsdist 6356941
- * mod_auth can use it even if they're dynamically loaded.
cvsdist 6356941
- */
cvsdist 6356941
-void suck_in_apr_password_validate(void);
cvsdist 6356941
-void suck_in_apr_password_validate(void)
cvsdist 6356941
-{
cvsdist 6356941
-    apr_password_validate("a", "b");
cvsdist 6356941
-}
cvsdist 6356941
-#endif
cvsdist 6356941
-
cvsdist 6356941
 #ifdef AP_USING_AUTOCONF
cvsdist 6356941
 /* This ugly little hack pulls any function referenced in exports.c into
cvsdist 6356941
  * the web server.  exports.c is generated during the build, and it
439691b
--- httpd-2.0.53/server/Makefile.in.export
439691b
+++ httpd-2.0.53/server/Makefile.in
439691b
@@ -59,10 +59,6 @@
439691b
 	for dir in $(EXPORT_DIRS); do \
439691b
 	    ls $$dir/*.h >> $$tmp; \
439691b
 	done; \
439691b
-	for dir in $(EXPORT_DIRS_APR); do \
439691b
-	    ls $$dir/ap[ru].h >> $$tmp; \
439691b
-	    ls $$dir/ap[ru]_*.h >> $$tmp; \
439691b
-	done; \
439691b
 	sort -u $$tmp > $@; \
439691b
 	rm -f $$tmp
cvsdist 6356941