$NetBSD$

--- configure.orig	2008-02-01 07:09:40.000000000 +0100
+++ configure
@@ -27010,7 +27010,7 @@ fi
 
 pkgstatedir=$localstatedir/$PACKAGE
 
-pkgconfdir=$sysconfdir/$PACKAGE
+pkgconfdir=$sysconfdir
 
 
 
@@ -28519,9 +28519,6 @@ EOF
     { echo "$as_me:$LINENO: checking xslt compliance of $xslt_prog" >&5
 echo $ECHO_N "checking xslt compliance of $xslt_prog... $ECHO_C" >&6; }
     to_run=$xslt_prog
-    to_run=${to_run/\%1/configtest.xml}
-    to_run=${to_run/\%2/configtest.xsl}
-    to_run=${to_run/\%3/configtest.out}
     if { ac_try='$to_run'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
@@ -28540,7 +28537,7 @@ echo "${ECHO_T}no" >&6; };
     fi
     xslt_prog="notfound"
     if test "$check_xslt_xsltprocfound" != notfound -a "$xslt_prog" = notfound; then
-        xslt_prog="$check_xslt_xsltprocfound -o %3 %2 %1"
+        xslt_prog="$check_xslt_xsltprocfound -o configtest.out configtest.xsl configtest.xml"
 
     cat << \EOF > configtest.xml
 <?xml version="1.0" encoding="ISO-8859-1"?>
@@ -28599,9 +28596,6 @@ EOF
     { echo "$as_me:$LINENO: checking xslt compliance of $xslt_prog" >&5
 echo $ECHO_N "checking xslt compliance of $xslt_prog... $ECHO_C" >&6; }
     to_run=$xslt_prog
-    to_run=${to_run/\%1/configtest.xml}
-    to_run=${to_run/\%2/configtest.xsl}
-    to_run=${to_run/\%3/configtest.out}
     if { ac_try='$to_run'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
@@ -28619,7 +28613,7 @@ echo "${ECHO_T}no" >&6; };
 
     fi
     if test "$check_xslt_sablotronfound" != notfound -a "$xslt_prog" = notfound; then
-        xslt_prog="$check_xslt_sablotronfound %2 %1 %3"
+        xslt_prog="$check_xslt_sablotronfound configtest.xsl configtest.xml configtest.out"
 
     cat << \EOF > configtest.xml
 <?xml version="1.0" encoding="ISO-8859-1"?>
@@ -28678,9 +28672,6 @@ EOF
     { echo "$as_me:$LINENO: checking xslt compliance of $xslt_prog" >&5
 echo $ECHO_N "checking xslt compliance of $xslt_prog... $ECHO_C" >&6; }
     to_run=$xslt_prog
-    to_run=${to_run/\%1/configtest.xml}
-    to_run=${to_run/\%2/configtest.xsl}
-    to_run=${to_run/\%3/configtest.out}
     if { ac_try='$to_run'
   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   (eval $ac_try) 2>&5
