rse 98/07/06 04:54:31
Modified: src CHANGES Configure . INSTALL src/os/unix os.h htdocs/manual dso.html Log: Add Dynamic Shared Object (DSO) support for SCO5 (OpenServer 5.0.x). Submitted by: Ronald Record <[EMAIL PROTECTED]> Reviewed by: Ralf S. Engelschall PR: 2533 Revision Changes Path 1.947 +3 -0 apache-1.3/src/CHANGES Index: CHANGES =================================================================== RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v retrieving revision 1.946 retrieving revision 1.947 diff -u -r1.946 -r1.947 --- CHANGES 1998/07/06 11:27:58 1.946 +++ CHANGES 1998/07/06 11:54:27 1.947 @@ -1,5 +1,8 @@ Changes with Apache 1.3.1 + *) Add Dynamic Shared Object (DSO) support for SCO5 (OpenServer 5.0.x). + [Ronald Record <[EMAIL PROTECTED]>] PR#2533 + *) The APACI libexecdir was not extended with an "apache/" subdir if the installation prefix doesn't already contain "apache". Although it is useful because the DSO files are totally Apache-specific. Now 1.271 +9 -0 apache-1.3/src/Configure Index: Configure =================================================================== RCS file: /export/home/cvs/apache-1.3/src/Configure,v retrieving revision 1.270 retrieving revision 1.271 diff -u -r1.270 -r1.271 --- Configure 1998/06/29 12:21:02 1.270 +++ Configure 1998/07/06 11:54:28 1.271 @@ -918,6 +918,15 @@ LDFLAGS_SHLIB="-Bdynamic -G" LDFLAGS_SHLIB_EXPORT="-Wl,-Bexport" ;; + *-sco5*) + case $CC in + */gcc*|gcc* ) CFLAGS_SHLIB="-fpic" ;; + */cc*|cc* ) CFLAGS_SHLIB="-KPIC" ;; + esac + LDFLAGS_SHLIB="-G" + LDFLAGS_SHLIB_EXPORT="-Wl,-Bexport" + SHLIB_SUFFIX_DEPTH=1 + ;; RM*-sni-sysv4*) # MIPS hosts can take advantage of the LDFLAGS_SHLIB_EXPORT switch case $CC in 1.34 +1 -1 apache-1.3/INSTALL Index: INSTALL =================================================================== RCS file: /export/home/cvs/apache-1.3/INSTALL,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- INSTALL 1998/06/28 15:42:21 1.33 +++ INSTALL 1998/07/06 11:54:29 1.34 @@ -84,7 +84,7 @@ - OpenBSD - OSF1 - NetBSD - UnixWare - SunOS - AIX - - Solaris + - Solaris - SCO o Entirely unsupported platforms are: - Ultrix 1.25 +2 -1 apache-1.3/src/os/unix/os.h Index: os.h =================================================================== RCS file: /export/home/cvs/apache-1.3/src/os/unix/os.h,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- os.h 1998/05/14 01:22:52 1.24 +++ os.h 1998/07/06 11:54:30 1.25 @@ -94,7 +94,8 @@ #if defined(LINUX) || defined(__FreeBSD__) ||\ defined(__OpenBSD__) || defined(__NetBSD__) || \ defined(SOLARIS2) || defined(__bsdi__) || \ - defined(IRIX) || defined(SVR4) || defined(OSF1) + defined(IRIX) || defined(SVR4) || defined(OSF1) ||\ + defined(SCO5) #define HAVE_DLFCN_H 1 #endif 1.6 +1 -0 apache-1.3/htdocs/manual/dso.html Index: dso.html =================================================================== RCS file: /export/home/cvs/apache-1.3/htdocs/manual/dso.html,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- dso.html 1998/05/15 09:16:22 1.5 +++ dso.html 1998/07/06 11:54:30 1.6 @@ -184,6 +184,7 @@ o IRIX (6.2) o HP/UX (10.20) o UnixWare (2.01, 2.1.2) +o SCO (5.0.4) o AIX (3.2, 4.1.5, 4.2, 4.3) o ReliantUNIX/SINIX (5.43) o SVR4 (-)