You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sa...@hyperreal.org on 2000/01/15 17:01:09 UTC
cvs commit: apache-1.3/src/os/unix os.c
sascha 00/01/15 08:01:09
Modified: src Configure
src/os/unix os.c
Log:
Disable dl emulation code for AIX < 4.3, if no dl functions are needed.
Revision Changes Path
1.388 +8 -0 apache-1.3/src/Configure
Index: Configure
===================================================================
RCS file: /home/cvs/apache-1.3/src/Configure,v
retrieving revision 1.387
retrieving revision 1.388
diff -u -u -r1.387 -r1.388
--- Configure 2000/01/14 16:10:34 1.387
+++ Configure 2000/01/15 16:01:07 1.388
@@ -1795,6 +1795,14 @@
fi
####################################################################
+## Don't force DL emulation, if not necessary. Currently only used
+## by os/unix/os.c.
+##
+if [ "x$using_shlib" != "x1" ] ; then
+ CFLAGS="$CFLAGS -DNO_DL_NEEDED"
+fi
+
+####################################################################
## Set the value of the shared libary flags, if they aren't explicitly
## set in the configuration file
##
1.20 +1 -1 apache-1.3/src/os/unix/os.c
Index: os.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/os/unix/os.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -u -r1.19 -r1.20
--- os.c 1999/12/09 19:21:56 1.19
+++ os.c 2000/01/15 16:01:09 1.20
@@ -17,7 +17,7 @@
* Insert the DSO emulation code for AIX for releases of AIX prior
* to 4.3. Use the native DSO code for 4.3 and later.
*/
-#ifdef AIX
+#if defined(AIX) && !defined(NO_DL_NEEDED)
#if AIX < 43
#include "os-aix-dso.c"
#endif