diff -uNr apache_1.3.20.orig/src/Configure apache_1.3.20/src/Configure
--- apache_1.3.20.orig/src/Configure	Thu May 10 16:04:16 2001
+++ apache_1.3.20/src/Configure	Tue Oct  2 20:50:44 2001
@@ -842,6 +842,12 @@
 	DEF_WANTHSREGEX=yes
 	LIBS="$LIBS -lcrypt"
 	;;
+    *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\"
diff -uNr apache_1.3.20.orig/src/helpers/GuessOS apache_1.3.20/src/helpers/GuessOS
--- apache_1.3.20.orig/src/helpers/GuessOS	Mon Apr  2 11:22:07 2001
+++ apache_1.3.20/src/helpers/GuessOS	Tue Oct  2 20:50:44 2001
@@ -316,6 +316,9 @@
     CYGWIN*:*:*:*)
 	echo "${MACHINE}-whatever-cygwin"; exit 0
 	;;
+    atheos:*)
+	echo "${MACHINE}-whatever-atheos"; exit 0
+	;;
 esac
 
 #
diff -uNr apache_1.3.20.orig/src/include/ap_config.h apache_1.3.20/src/include/ap_config.h
--- apache_1.3.20.orig/src/include/ap_config.h	Fri Apr  6 05:13:11 2001
+++ apache_1.3.20/src/include/ap_config.h	Tue Oct  2 20:56:37 2001
@@ -513,6 +513,25 @@
 #define HAVE_SYSLOG 1
 #undef HAVE_SYS_RESOURCE_H
 
+#elif defined(ATHEOS)
+
+#include <features.h>
+#include <crypt.h>
+#include <sys/time.h>
+
+#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 USE_FCNTL_SERIALIZED_ACCEPT
