rse         98/03/10 08:40:49

  Modified:    src      CHANGES Configure
  Log:
  Here it comes: Shared Object support SunOS 4.1 with GCC and Sun's ACC.
  
  BTW: I received SIGBUS all the time in dlopen() and after wasting
       a lot of time debugging this problem I discovered that SunOS
       doesn't like it when the mod_xx.so files are stripped on
       installation. So, never strip them on SunOS.
  
  Revision  Changes    Path
  1.699     +4 -4      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.698
  retrieving revision 1.699
  diff -u -r1.698 -r1.699
  --- CHANGES   1998/03/10 08:52:56     1.698
  +++ CHANGES   1998/03/10 16:40:44     1.699
  @@ -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 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 and Solaris.  
  -     [Ralf S. Engelschall]
  +     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]
   
     *) Minor cleanup in http_main -- split QNX and OS2 specific "mmap"
        scoreboard code into separate #defines -- USE_POSIX_SCOREBOARD
  
  
  
  1.201     +32 -24    apache-1.3/src/Configure
  
  Index: Configure
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/Configure,v
  retrieving revision 1.200
  retrieving revision 1.201
  diff -u -r1.200 -r1.201
  --- Configure 1998/03/10 09:52:18     1.200
  +++ Configure 1998/03/10 16:40:45     1.201
  @@ -662,33 +662,41 @@
   
   ####################################################################
   # We adjust now CFLAGS_SHLIB, LDFLAGS_SHLIB and LDFLAGS_SHLIB_EXPORT as
  -# required.  For more PLATFORMs just add the required lines below.
  +# required.  For more platforms just add the required lines below.
   #
   if [ "x$using_shlib" = "x1" ] ; then
       case "$PLAT" in
  -     *-linux1)
  -         CFLAGS_SHLIB="-fpic"
  -         LDFLAGS_SHLIB="-Bshareable"
  -         LDFLAGS_SHLIB_EXPORT="-rdynamic"
  -         ;;
  -     *-linux2)
  -         CFLAGS_SHLIB="-fpic"
  -         LDFLAGS_SHLIB="-Bshareable"
  -         LDFLAGS_SHLIB_EXPORT="-rdynamic"
  -         ;;
  -     *-freebsd*)
  -         CFLAGS_SHLIB="-fpic"
  -         LDFLAGS_SHLIB="-Bshareable"
  -         LDFLAGS_SHLIB_EXPORT=""
  -         ;;
  -     *-solaris2*)
  -         case $CC in
  -                 */gcc|gcc ) CFLAGS_SHLIB="-fpic" ;;
  -                   */cc|cc ) CFLAGS_SHLIB="-KPIC" ;;
  -         esac
  -         LDFLAGS_SHLIB="-G"
  -         LDFLAGS_SHLIB_EXPORT=""
  -         ;;
  +        *-linux1)
  +            CFLAGS_SHLIB="-fpic"
  +            LDFLAGS_SHLIB="-Bshareable"
  +            LDFLAGS_SHLIB_EXPORT="-rdynamic"
  +            ;;
  +        *-linux2)
  +            CFLAGS_SHLIB="-fpic"
  +            LDFLAGS_SHLIB="-Bshareable"
  +            LDFLAGS_SHLIB_EXPORT="-rdynamic"
  +            ;;
  +        *-freebsd*)
  +            CFLAGS_SHLIB="-fpic"
  +            LDFLAGS_SHLIB="-Bshareable"
  +            LDFLAGS_SHLIB_EXPORT=""
  +            ;;
  +        *-solaris2*)
  +            case $CC in
  +                */gcc|gcc ) CFLAGS_SHLIB="-fpic" ;;
  +                */cc|cc   ) CFLAGS_SHLIB="-KPIC" ;;
  +            esac
  +            LDFLAGS_SHLIB="-G"
  +            LDFLAGS_SHLIB_EXPORT=""
  +            ;;
  +        *-sunos4*)
  +            case $CC in
  +                */gcc|gcc ) CFLAGS_SHLIB="-fpic" ;;
  +                */acc|acc ) CFLAGS_SHLIB="-pic" ;;
  +            esac
  +            LDFLAGS_SHLIB="-assert pure-text"
  +            LDFLAGS_SHLIB_EXPORT=""
  +            ;;
       esac
   fi
   
  
  
  

Reply via email to