httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Borrill <sborr...@xemplar.co.uk>
Subject Apache port to RISCiX
Date Fri, 22 Aug 1997 12:31:54 GMT
Here are the changes required to port Apache 1.2 to Acorn RISCiX.


Changes to conf.h
=================

Add following in OS switching ladder anywhere.

#elif defined(RISCIX)
#include <sys/time.h>
#define JMP_BUF jmp_buf
typedef int rlim_t;
#define NO_USE_SIGACTION
#define USE_LONGJMP
#define NEED_STRCASECMP
#define NEED_STRDUP
#define NEED_STRNCASECMP

Change:

#if defined(CRAY) || defined(__arm)
#if __STDC__

to:

#if defined(CRAY) || defined(__arm)
#if defined(__STDC__)

Changes to Configure
====================

-- Seems to be a problem in picking up $MAKE so this works round it.

Add following in case "$PLAT" statement:

    *-riscix)
        OS="RISC iX"
	CFLAGS="$CFLAGS -DRISCIX"
        OPTIM="-O"
        MAKE="make"
	DEF_WANTHSREGEX=yes
        ;;

Add following in section under # Good enough

if [ "x$MAKE" != "x" ]; then
    echo 'MAKE="$MAKE MAKE=$MAKE"' >> Makefile.config
fi


Changes to helpers/GuessOS
==========================

Add following in case "${SYSTEM}:${RELEASE}:${VERSION}:${MACHINE}" 

    "RISC iX":*)
        echo "arm-whatever-riscix"; exit 0
        ;;

Changes to modules/proxy/Makefile
=================================

RISCiX doesn't seem to understand this syntax in Makefiles

Change:

OBJS=$(PROXYSRC:.c=.o)

to:

OBJS=mod_proxy.o proxy_cache.o proxy_connect.o proxy_ftp.o proxy_http.o \
proxy_util.o

-- 
Stephen Borrill, Network Computer Technical Manager
Xemplar Education Ltd                         Tel: +44 (0) 1223 724 267
The Quorum, Barnwell Road                     Fax: +44 (0) 1223 724 324
Cambridge, CB5 8RE, United Kingdom            WWW: http://www.xemplar.co.uk/

Mime
View raw message