rse 98/03/11 01:57:28
Modified: src CHANGES Configuration.tmpl Configure
Log:
And another system which provides the dlopen()-style API for
loadind shared objects is now supported ;-): IRIX
Revision Changes Path
1.700 +4 -4 apache-1.3/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
retrieving revision 1.699
retrieving revision 1.700
diff -u -r1.699 -r1.700
--- CHANGES 1998/03/10 16:40:44 1.699
+++ CHANGES 1998/03/11 09:57:23 1.700
@@ -18,10 +18,10 @@
[Tony Fincg <[EMAIL PROTECTED]>] PR#1925
*) Various improvements to the configuration and build support for
compiling
- modules as shared objects. Especially Solaris 2.x and SunOS 4.1 support
- with GCC and WorkShop Compilers 4.2 was added. This way shared object
- support is now provided out-of-the-box for FreeBSD, Linux, Solaris and
- SunOS. [Ralf S. Engelschall]
+ modules as shared objects. Especially Solaris 2.x, SunOS 4.1 and IRIX
+ support with GCC and vendor compilers was added. This way shared object
+ support is now provided out-of-the-box for FreeBSD, Linux, Solaris,
SunOS
+ and IRIX. [Ralf S. Engelschall]
*) Minor cleanup in http_main -- split QNX and OS2 specific "mmap"
scoreboard code into separate #defines -- USE_POSIX_SCOREBOARD
1.84 +1 -1 apache-1.3/src/Configuration.tmpl
Index: Configuration.tmpl
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/Configuration.tmpl,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -r1.83 -r1.84
--- Configuration.tmpl 1998/03/10 16:42:27 1.83
+++ Configuration.tmpl 1998/03/11 09:57:25 1.84
@@ -62,7 +62,7 @@
# 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 and SunOS are supported out-of-the-box. For other
+# Solaris, SunOS and IRIX are supported out-of-the-box. For other
# platforms where you want to use the `SharedModule' directive
# you have to provide the appropriate flags here.
#
1.202 +20 -0 apache-1.3/src/Configure
Index: Configure
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/Configure,v
retrieving revision 1.201
retrieving revision 1.202
diff -u -r1.201 -r1.202
--- Configure 1998/03/10 16:40:45 1.201
+++ Configure 1998/03/11 09:57:25 1.202
@@ -697,6 +697,26 @@
LDFLAGS_SHLIB="-assert pure-text"
LDFLAGS_SHLIB_EXPORT=""
;;
+ *-sgi-irix32)
+ case $CC in
+ */gcc|gcc ) CFLAGS_SHLIB="-fpic" ;;
+ */cc|cc ) CFLAGS_SHLIB="-KPIC" ;;
+ esac
+ if [ "$RULE_IRIXN32" = "yes" ]; then
+ LDFLAGS_SHLIB="-n32 -shared"
+ else
+ LDFLAGS_SHLIB="-shared"
+ fi
+ LDFLAGS_SHLIB_EXPORT=""
+ ;;
+ *-sgi-irix)
+ case $CC in
+ */gcc|gcc ) CFLAGS_SHLIB="-fpic" ;;
+ */cc|cc ) CFLAGS_SHLIB="-KPIC" ;;
+ esac
+ LDFLAGS_SHLIB="-shared"
+ LDFLAGS_SHLIB_EXPORT=""
+ ;;
esac
fi