rse 98/03/13 08:15:42
Modified: src Configure Configuration.tmpl
src/os/unix os.h
Log:
And another nice platform where we support shared objects: OSF1
(BTW: compares to the linker nightmare I had under AIX today the
OSF1 platform is really a pleasure)
Revision Changes Path
1.206 +8 -0 apache-1.3/src/Configure
Index: Configure
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/Configure,v
retrieving revision 1.205
retrieving revision 1.206
diff -u -r1.205 -r1.206
--- Configure 1998/03/13 07:27:54 1.205
+++ Configure 1998/03/13 16:15:39 1.206
@@ -733,6 +733,14 @@
LDFLAGS_SHLIB="-shared"
LDFLAGS_SHLIB_EXPORT=""
;;
+ *-dec-osf*)
+ case $CC in
+ */gcc|gcc ) CFLAGS_SHLIB="-fpic" ;;
+ */cc|cc ) CFLAGS_SHLIB="" ;;
+ esac
+ LDFLAGS_SHLIB="-shared -expect_unresolved '*' -msym -s"
+ LDFLAGS_SHLIB_EXPORT=""
+ ;;
esac
fi
1.87 +14 -7 apache-1.3/src/Configuration.tmpl
Index: Configuration.tmpl
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/Configuration.tmpl,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- Configuration.tmpl 1998/03/13 09:57:14 1.86
+++ Configuration.tmpl 1998/03/13 16:15:40 1.87
@@ -63,13 +63,20 @@
#
# The Configure script currently has only limited built-in
# knowledge on how to compile shared objects because this is
-# heavily platform-dependend. Currently only Linux, FreeBSD,
-# Solaris, SunOS and IRIX are supported out-of-the-box. For other
-# platforms where you want to use the `SharedModule' directive
-# you first have to make sure it supports the dlopen() system
-# call and then you have to provide the appropriate compiler and
-# linker flags here to create the shared object files on your
-# particular platform.
+# heavily platform-dependend. The current state is this:
+#
+# Out-of-the-box supported platforms:
+# Linux, FreeBSD, Solaris, SunOS, IRIX, OSF1
+#
+# Entirely unsupported platforms (no dlopen-style API):
+# HP-UX, UnixWare, Ultrix
+#
+# For other platforms where you want to use the `SharedModule'
+# directive you first have to make sure it supports the dlopen()
+# system call and then you have to provide the appropriate
+# compiler and linker flags here to create the shared object
+# files on your particular platform.
+#
#
#CFLAGS_SHLIB=
#LDFLAGS_SHLIB=
1.14 +2 -2 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.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- os.h 1998/03/06 13:18:44 1.13
+++ os.h 1998/03/13 16:15:41 1.14
@@ -88,7 +88,7 @@
*/
#if defined(LINUX) || defined(__FreeBSD__) || defined(SOLARIS2) || \
- defined(__bsdi__) || defined(IRIX) || defined(SVR4)
+ defined(__bsdi__) || defined(IRIX) || defined(SVR4) || defined(OSF1)
# define HAVE_DLFCN_H 1
#endif
@@ -97,7 +97,7 @@
#endif
/* OSes that don't support dlopen */
-#if defined(UW) || defined(ULTRIX)
+#if defined(UW) || defined(ULTRIX) || defined(HPUX) || defined(HPUX10)
# define NO_DL
#endif