You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by Alexei Kosut <ak...@hyperreal.com> on 1996/04/05 11:39:17 UTC
cvs commit: apache/src conf.h util.c Configuration.tmpl
akosut 96/04/05 01:39:16
Modified: src conf.h util.c Configuration.tmpl
Log:
Here's a patch to get Apache running on DG/UX.
It was done by kevinu@flochart.com
Submitted by: Sameer Parekh <sa...@c2.org>
Revision Changes Path
1.11 +12 -0 apache/src/conf.h
Index: conf.h
===================================================================
RCS file: /export/home/cvs/apache/src/conf.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -C3 -r1.10 -r1.11
*** conf.h 1996/03/29 15:44:31 1.10
--- conf.h 1996/04/05 09:39:13 1.11
***************
*** 241,246 ****
--- 241,258 ----
/* A lot of SVR4 systems need this */
#define FCNTL_SERIALIZED_ACCEPT
+ #elif defined(DGUX)
+ #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)
+ /* A lot of SVR4 systems need this */
+ #define FCNTL_SERIALIZED_ACCEPT
+
#elif defined(__NetBSD__)
#define HAS_GMTOFF
#undef NO_KILLPG
1.7 +4 -0 apache/src/util.c
Index: util.c
===================================================================
RCS file: /export/home/cvs/apache/src/util.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C3 -r1.6 -r1.7
*** util.c 1996/03/28 07:59:32 1.6
--- util.c 1996/04/05 09:39:14 1.7
***************
*** 944,950 ****
--- 944,954 ----
return htonl(INADDR_ANY);
}
+ #ifdef DGUX
+ my_addr = inet_network(w);
+ #else
my_addr = inet_addr(w);
+ #endif
if (my_addr != ((unsigned long) 0xffffffff))
{
if (p != NULL) *p = ':';
1.10 +3 -0 apache/src/Configuration.tmpl
Index: Configuration.tmpl
===================================================================
RCS file: /export/home/cvs/apache/src/Configuration.tmpl,v
retrieving revision 1.9
retrieving revision 1.10
diff -C3 -r1.9 -r1.10
*** Configuration.tmpl 1996/03/25 11:35:11 1.9
--- Configuration.tmpl 1996/04/05 09:39:15 1.10
***************
*** 127,132 ****
--- 127,135 ----
# For LynxOS
#AUX_CFLAGS= -DLYNXOS
#EXTRA_LIBS=-lbsd -ldes -lc_p
+ # For DG/UX 5.4
+ #AUX_CFLAGS= -DDGUX
+ #AUX_LIBS=
# For EMX OS/2 port
#AUX_CFLAGS= -Zbsd-signals -Zbin-files