httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Sanchez <wsanc...@apple.com>
Subject [PATCH] Configure: Add Rhapsody
Date Wed, 10 Sep 1997 13:09:07 GMT
This is a patch to GuessOS and Configure so that they recognize Rhapsody.

The OS name returned is either i386-apple-rhapsody5.0 or  
powerpc-apple-rhapsody5.0 which is consistent with the changes to GNU  
autoconf we're using at Apple.

Note that there is a known bug in the current build of Rhapsody  
which causes the filesystem to hang if you create a shell command  
with several pipes, such as the sed command in Configure. This will  
cause Configure, when run, to hang your machine. Since that might not  
get fixed by the time we ship Developer (sorry),  you will need to  
break up the sed command to write to a temp file between calls.  I  
didn't include that here since it's silly to do on other OS's.

	-Fred
	Apple Rhapsody Core OS
	wsanchez@apple.com



Index: ThirdParty/apache/src/Configure
diff -c ThirdParty/apache/src/Configure:1.1.1.1  
ThirdParty/apache/src/Configure:1.3
*** ThirdParty/apache/src/Configure:1.1.1.1	Thu Aug 14 11:08:04 1997
--- ThirdParty/apache/src/Configure	Wed Sep  3 20:23:07 1997
***************
*** 339,344 ****
--- 345,355 ----
  	DEF_WANTHSREGEX=yes
  	RANLIB="sleep 5; /bin/ranlib"
  	# ranlib on most NeXTs sets the time wrong. 5 secs wait does  
much good
+ 	;;
+     *-apple-rhapsody*)
+ 	OS='Rhapsody'
+ 	CFLAGS="$CFLAGS -DRHAPSODY"
+ 	DEF_WANTHSREGEX=yes
  	;;
      *-dec-osf*)
  	OS='DEC OSF/1'
Index: ThirdParty/apache/src/helpers/GuessOS
diff -c ThirdParty/apache/src/helpers/GuessOS:1.1.1.1  
ThirdParty/apache/src/helpers/GuessOS:1.2
*** ThirdParty/apache/src/helpers/GuessOS:1.1.1.1	Thu Aug 14  
11:08:12 1997
--- ThirdParty/apache/src/helpers/GuessOS	Mon Aug 25 15:31:53 1997
***************
*** 204,209 ****
--- 204,217 ----
  	echo "${MACHINE}-tandem-sysv4"; exit 0;
  	;;

+     Rhapsody:*:*:*)
+ 	case "${MACHINE}" in
+ 	    "Power Macintosh")
+ 		MACHINE=powerpc ;;
+ 	esac
+ 	echo "powerpc-apple-rhapsody${RELEASE}"; exit 0
+ 	;;
+
  esac

  #

Mime
View raw message