$NetBSD$

--- configure.ac.orig	2006-12-29 14:09:39.000000000 +0000
+++ configure.ac
@@ -23,8 +23,8 @@ else
 fi
 
 AC_CHECK_HEADERS(rpc/xdr.h rpc/types.h)
-if test "${ac_cv_header_rpc/xdr_h}" = no ||
-    test "${ac_cv_header_rpc/types_h}" = no; then
+if test "${ac_cv_header_rpc_xdr_h}" = no ||
+    test "${ac_cv_header_rpc_types_h}" = no; then
     AC_MSG_ERROR("xdr headers rpc/xdr.h and rpc/types.h not found")
 fi
 AC_SEARCH_LIBS(xdrmem_create, [nsl])
