httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@hyperreal.com>
Subject Apache 1.2b1 on UnixWare 2.1.1 - updated patch! (fwd)
Date Sat, 07 Dec 1996 02:31:13 GMT

---------- Forwarded message ----------
Date: Fri, 6 Dec 1996 14:35:32 +0100
From: Alan Burlison <alanburlison@unn.unisys.com>
To: new-httpd@hyperreal.com
Subject: Apache 1.2b1 on UnixWare 2.1.1 - updated patch!





Hi,

I have now suceeded in getting a build of 1.2b1, and as far as I can tell it
runs fine.
Unfortunately, quite a few changes to the existing UnixWare stuff in Configure
would
have been needed to get it to build, and it then probably wouldn't build on
UW2.1
This is because 2.1.1 is X/OPEN 'Single Unix Specification' compliant.  I
therefore
decided to add a new machine type - 'unixware211'.  I have changed GuessOS to
pick this up correctly, and made the necessary changes to Configure and conf.h.
The patch necessary for this is listed below - please use this instead of the
one I
posted earlier.  Please respond directly as I don't subscribe to this list.
Thanks!

Alan Burlison
alabburlison@unn.unisys.com

*** Configure	Wed Nov 20 06:04:29 1996
--- ../changes/Configure.new	Fri Dec  6 13:39:32 1996
***************
*** 245,256 ****
      *-sunos4*)
     OS='SunOS 4'
     CFLAGS="$CFLAGS -DSUNOS4"
     ;;
!     *-unixware*)
     DEF_WANTHSREGEX=yes
     OS='Unixware'
     CFLAGS="$CFLAGS -DSVR4"
     LIBS="$LIBS -lsocket -lnsl -lcrypt"
     ;;
      *-sysv4*)
     OS='SVR4'
--- 245,261 ----
      *-sunos4*)
     OS='SunOS 4'
     CFLAGS="$CFLAGS -DSUNOS4"
     ;;
!     *-unixware)
     DEF_WANTHSREGEX=yes
     OS='Unixware'
     CFLAGS="$CFLAGS -DSVR4"
+    LIBS="$LIBS -lsocket -lnsl -lcrypt"
+    ;;
+     *-unixware211)
+    OS='Unixware'
+    CFLAGS="$CFLAGS -DUW"
     LIBS="$LIBS -lsocket -lnsl -lcrypt"
     ;;
      *-sysv4*)
     OS='SVR4'
*** conf.h	Mon Dec  2 16:07:23 1996
--- ../changes/conf.h.new	Fri Dec  6 13:39:32 1996
***************
*** 274,281 ****
--- 274,299 ----
  #define getwd(d) getcwd(d,MAX_STRING_LEN)
  /* A lot of SVR4 systems need this */
  #define USE_FCNTL_SERIALIZED_ACCEPT

+ #elif defined(UW)
+ #define NO_KILLPG
+ #undef  NO_SETSID
+ #undef NEED_STRDUP
+ #define NEED_STRCASECMP
+ #define NEED_STRNCASECMP
+ #define bzero(a,b) memset(a,0,b)
+ #define JMP_BUF sigjmp_buf
+ #define getwd(d) getcwd(d,MAX_STRING_LEN)
+ #define HAVE_RESOURCE
+ #define HAVE_MMAP
+ #define HAVE_SHMGET
+ #define HAVE_CRYPT_H
+ #define HAVE_SYS_SELECT_H
+ #define HAVE_SYS_RESOURCE_H
+ #include <sys/time.h>
+ #define _POSIX_SOURCE
+
  #elif defined(DGUX)
  #define NO_KILLPG
  #undef  NO_SETSID
  #undef NEED_STRDUP
*** helpers/GuessOS	Wed Oct 23 13:56:34 1996
--- ../changes/GuessOS.new	Fri Dec  6 14:22:25 1996
***************
*** 31,38 ****
--- 31,44 ----
         ;;
     3\.2v5\.0\.0)
         echo "whatever-whatever-sco5"; exit 0
         ;;
+    4\.2MP)
+        if [ "x$VERSION" = "x2.1.1" ]; then
+            echo "${MACHINE}-whatever-unixware211"; exit 0
+        else
+            echo "${MACHINE}-whatever-unixware"; exit 0
+        fi
      esac
  else
  # Now we simply scan though... In most cases, the SYSTEM info is enough
  #





Mime
View raw message