$OpenBSD: patch-configure_in,v 1.3 2005/05/09 13:52:38 avsm Exp $
--- configure.in.orig	Mon Jan 31 09:56:18 2005
+++ configure.in	Tue Mar  1 10:03:19 2005
@@ -226,6 +226,8 @@ AC_MSG_CHECKING([for Perl])
         ;;
     openbsd)
         ;;
+    openbsd)
+	;;
     darwin) # Mac OS X
         ;;
     *)
@@ -393,6 +395,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)
@@ -421,7 +430,7 @@ case "$target" in
     ])
     ;;
 esac
-CILHOME=$CCUREDHOME
+CILHOME=${LOCALBASE}
 
 # We will use substitution variables whose definition contains newlines. The
 # problem is that when config.status runs, it wants to break the series of
