$OpenBSD: patch-configure_in,v 1.5 2005/10/16 15:52:31 avsm Exp $
--- configure.in.orig	Wed Jun  1 06:37:13 2005
+++ configure.in	Sat Oct  8 02:22:16 2005
@@ -395,6 +397,13 @@ case "$target" in
     ARCHOS=x86_LINUX
     ;;
 
+   # openbsd
+  *openbsd*)
+    AC_MSG_RESULT(configuring for OpenBSD)
+
+    ARCHOS=x86_LINUX
+    ;;
+
   # Mac OS X
   *powerpc*darwin*)
     AC_MSG_RESULT(configuring for powerpc/darwin, which we treat like linux/x86)
@@ -423,7 +432,7 @@ case "$target" in
     ])
     ;;
 esac
-CILHOME=$CCUREDHOME
+CILHOME=${LOCALBASE}
 
 # Make the object directory if not already present
 AC_CHECK_FILE(obj/$ARCHOS,, AC_MSG_RESULT(creating obj/$ARCHOS);
