$NetBSD: patch-aa,v 1.4 2003/04/11 22:06:24 cjep Exp $

--- configure.orig	2000-10-31 16:21:04.000000000 +0000
+++ configure
@@ -1744,7 +1744,7 @@ fi
 test -n "$unzip" && break
 done
 
-for ac_prog in gtar tar
+for ac_prog in tar gtar
 do
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
@@ -3876,7 +3876,7 @@ echo $ac_n "checking if tar removes lead
 echo "configure:3877: checking if tar removes leading / from archive" >&5
  testfile="tarcheck$$"
  touch /tmp/$testfile
- $tar cPf /tmp/$testfile.tar /tmp/$testfile > /dev/null 2>&1
+ $tar cf /tmp/$testfile.tar /tmp/$testfile > /dev/null 2>&1
  rm -f /tmp/${testfile}
  $tar xf  /tmp/$testfile.tar > /dev/null 2>&1
  if test -d "./tmp"; then
