httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject cvs commit: apache-1.3/src/include ap_config.h
Date Mon, 08 Oct 2001 15:49:34 GMT
martin      01/10/08 08:49:34

  Modified:    src      CHANGES Configure
               src/helpers GuessOS
               src/include ap_config.h
  Log:
  ==Port of Apache 1.3.20 to AtheOS==
  Rodrigo Parra Novo <rpn@terra.com.br> writes:
     I have ported Apache 1.3.20 to AtheOS (A new OS, described on
  www.atheos.cx), following the rules described by the PORTING document,
  which can be found in Apache's src/ directory.
  
     I'm sending the (rather simple) patch attached. It would be nice if
  someone from the Apache team could take a look at the patch, and tell me
  if anything is still missing. It would be also nice if (hopefully) this
  patch could be added to the current Apache 1.3 branch, on CVS.
  
     I (and others) have been running Apache on AtheOS for some time now,
  and everything seems to work correctly, with the following exceptions:
  
     1. AtheOS does not use mmap() and shmget(), so we are using the
  ScoreBoard on disk, for now;
     2. AtheOS does not support DSO for the moment, as shared libraries
  are treated a bit differently from the way they are treated on UNIX.
  
  Submitted by:	Rodrigo Parra Novo <rpn@terra.com.br>
  Reviewed by:	Martin Kraemer
  
  Revision  Changes    Path
  1.1728    +3 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.1727
  retrieving revision 1.1728
  diff -u -r1.1727 -r1.1728
  --- CHANGES	2001/10/08 14:29:30	1.1727
  +++ CHANGES	2001/10/08 15:49:33	1.1728
  @@ -1,5 +1,8 @@
   Changes with Apache 1.3.22
   
  +  *) PORT: Support AtheOS (see www.atheos.cx)
  +     [Rodrigo Parra Novo <rodarvus@terra.com.br>]
  +
     *) Change to the EXPAT rule logic. We can now use the system's expat
        library if we want, use our own expat-lite or have Configure
        pick one for us (prefer system, but use expat-lite as a backup).
  
  
  
  1.440     +16 -0     apache-1.3/src/Configure
  
  Index: Configure
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/Configure,v
  retrieving revision 1.439
  retrieving revision 1.440
  diff -u -r1.439 -r1.440
  --- Configure	2001/10/08 14:29:30	1.439
  +++ Configure	2001/10/08 15:49:33	1.440
  @@ -843,6 +843,12 @@
   	DBM_LIB="-lgdbm"
   	LIBS="$LIBS -lcrypt $DBM_LIB"
   	;;
  +    *atheos*)
  +	DEF_WANTSREGEX=yes
  +	OS='AtheOS'
  +	CFLAGS="$CFLAGS -DATHEOS"
  +	LIBS="$LIBS -lcrypt"
  +	;;
       *) # default: Catch systems we don't know about
   	OS='Unknown and unsupported OS'
       	echo Sorry, but we cannot grok \"$PLAT\"
  @@ -1851,6 +1857,16 @@
   ## version ('yes'), our version (expat-lite) ('no') or for Configure
   ## to choose for us ('default' - system is prefered if available).
   ##
  +
  +# set the default, based on whether expat-lite is bundled. if it is present,
  +# then we can always include expat.
  +if [ "x$RULE_EXPAT" = "xdefault" ]; then
  +    if [ -d ./lib/expat-lite/ ]; then
  +        RULE_EXPAT=yes
  +    else
  +        RULE_EXPAT=no
  +    fi
  +fi
   
   if ./helpers/TestCompile lib expat && [ "x$RULE_EXPAT" != "xno" ]; then
           echo " + using system Expat"
  
  
  
  1.75      +3 -0      apache-1.3/src/helpers/GuessOS
  
  Index: GuessOS
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/helpers/GuessOS,v
  retrieving revision 1.74
  retrieving revision 1.75
  diff -u -r1.74 -r1.75
  --- GuessOS	2001/04/02 09:22:07	1.74
  +++ GuessOS	2001/10/08 15:49:33	1.75
  @@ -316,6 +316,9 @@
       CYGWIN*:*:*:*)
   	echo "${MACHINE}-whatever-cygwin"; exit 0
   	;;
  +    atheos:*)
  +	echo "${MACHINE}-whatever-atheos"; exit 0
  +	;;
   esac
   
   #
  
  
  
  1.317     +20 -0     apache-1.3/src/include/ap_config.h
  
  Index: ap_config.h
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/include/ap_config.h,v
  retrieving revision 1.316
  retrieving revision 1.317
  diff -u -r1.316 -r1.317
  --- ap_config.h	2001/10/08 13:59:39	1.316
  +++ ap_config.h	2001/10/08 15:49:33	1.317
  @@ -526,6 +526,26 @@
   #define HAVE_SYSLOG 1
   #undef HAVE_SYS_RESOURCE_H
   
  +#elif defined(ATHEOS)
  +
  +#include <features.h>
  +#include <crypt.h>
  +#include <sys/time.h>
  +
  +#define HAVE_FCNTL_SERIALIZED_ACCEPT
  +#define USE_FCNTL_SERIALIZED_ACCEPT
  +
  +#undef HAVE_GMTOFF
  +#undef NO_KILLPG
  +#undef NO_SETSID
  +#undef NEED_STRDUP
  +#define HAVE_SYSLOG 1
  +
  +#ifdef PLATFORM
  +#undef PLATFORM
  +#endif
  +#define PLATFORM "AtheOS"
  +
   #elif defined(SCO5)
   
   #define HAVE_FCNTL_SERIALIZED_ACCEPT
  
  
  

Mime
View raw message