$OpenBSD: patch-configure_ac,v 1.3 2011/08/25 10:39:46 ajacoutot Exp $
--- configure.ac.orig	Mon Jul 25 23:29:09 2011
+++ configure.ac	Thu Aug 25 12:13:29 2011
@@ -45,8 +45,8 @@ AC_FUNC_VPRINTF
 AC_CHECK_FUNCS([dup2 getcwd gethostname regcomp setenv strcasecmp strchr strcspn strdup strncasecmp strndup strrchr strstr strcasestr strtol])
 
 
-ETCSEARCHPATH=${prefix}/etc:/usr/etc:/usr/local/etc
-LIBSEARCHPATH=${libdir}:/usr/lib:/usr/lib64:/usr/local/lib:${prefix}/libexec:/usr/libexec:/usr/local/libexec
+ETCSEARCHPATH=${SYSCONFDIR}
+LIBSEARCHPATH=${LOCALBASE}/lib:/usr/lib:${LOCALBASE}/libexec:/usr/libexec
 
 uname=`uname`
 uversion=`uname -r | sed -e '1,$s/[[^0-9]]//g'`
