You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rs...@hyperreal.org on 1998/04/30 13:27:06 UTC

cvs commit: apache-1.3/src/os/unix os.h

rse         98/04/30 04:27:05

  Modified:    .        STATUS
               src      CHANGES Configure
               src/os/unix os.h
  Log:
  DSO support for NetBSD
  
  Submitted by: Jaromir Dolecek <do...@ics.muni.cz>
  Reviewed by: Ralf S. Engelschall
  PR: 2158
  
  Revision  Changes    Path
  1.342     +1 -0      apache-1.3/STATUS
  
  Index: STATUS
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/STATUS,v
  retrieving revision 1.341
  retrieving revision 1.342
  diff -u -r1.341 -r1.342
  --- STATUS	1998/04/28 08:42:06	1.341
  +++ STATUS	1998/04/30 11:27:01	1.342
  @@ -76,6 +76,7 @@
       * Martin's suppress "error(0)" messages for ap_log_error()
       * Ralf's fixes for compiler warnings under AIX 4.2 (NET_SIZE_T is size_t)
       * Ralf's DSO support for AIX
  +    * Ralf's DSO support for NetBSD, PR#2158
   
   Available Patches:
   
  
  
  
  1.804     +3 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.803
  retrieving revision 1.804
  diff -u -r1.803 -r1.804
  --- CHANGES	1998/04/28 08:42:07	1.803
  +++ CHANGES	1998/04/30 11:27:02	1.804
  @@ -1,5 +1,8 @@
   Changes with Apache 1.3b7
   
  +  *) PORT: Dynamic Shared Object (DSO) support for NetBSD.
  +     [Jaromir Dolecek <do...@ics.muni.cz>, Ralf S. Engelschall] PR#2158
  +
     *) Add Dynamic Shared Object (DSO) support for AIX (at least 4.2 but older
        AIX variants should work fine, too. Even AIX 3.x should work). This is
        accomplished by using the free DSO emulation code from Jens-Uwe Mager
  
  
  
  1.250     +12 -0     apache-1.3/src/Configure
  
  Index: Configure
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/Configure,v
  retrieving revision 1.249
  retrieving revision 1.250
  diff -u -r1.249 -r1.250
  --- Configure	1998/04/28 08:42:08	1.249
  +++ Configure	1998/04/30 11:27:02	1.250
  @@ -788,6 +788,18 @@
               LDFLAGS_SHLIB_EXPORT=""
               SHLIB_SUFFIX_DEPTH=2
               ;;
  +        alpha-*-netbsd*|mips-*-netbsd*|powerpc-*-netbsd*)
  +            CFLAGS_SHLIB="-fpic -DPIC"
  +            LDFLAGS_SHLIB="-shared"
  +            LDFLAGS_SHLIB_EXPORT=""
  +            SHLIB_SUFFIX_DEPTH=2
  +            ;;
  +        *-netbsd*)
  +            CFLAGS_SHLIB="-fpic -DPIC"
  +            LDFLAGS_SHLIB="-Bshareable"
  +            LDFLAGS_SHLIB_EXPORT=""
  +            SHLIB_SUFFIX_DEPTH=2
  +            ;;
           *-solaris2*)
               case $CC in
                   */gcc|gcc ) CFLAGS_SHLIB="-fpic" ;;
  
  
  
  1.22      +5 -3      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.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- os.h	1998/04/13 18:05:19	1.21
  +++ os.h	1998/04/30 11:27:04	1.22
  @@ -89,8 +89,10 @@
   #define HAVE_DL_H 1
   #endif
   
  -#if defined(LINUX) || defined(__FreeBSD__) || defined(SOLARIS2) || \
  -    defined(__bsdi__) || defined(IRIX) || defined(SVR4) || defined(OSF1)
  +#if defined(LINUX) || defined(__FreeBSD__) ||\
  +    defined(__OpenBSD__) || defined(__NetBSD__) || \
  +    defined(SOLARIS2) || defined(__bsdi__) || \
  +    defined(IRIX) || defined(SVR4) || defined(OSF1)
   #define HAVE_DLFCN_H 1
   #endif
   
  @@ -115,7 +117,7 @@
   #define RTLD_NOW 1
   #endif
   
  -#if defined(__FreeBSD__)
  +#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
   #define DLSYM_NEEDS_UNDERSCORE
   #endif