$NetBSD: patch-ab,v 1.2 2010/09/27 09:09:29 obache Exp $

* XXX
* replace obsoleted `-r' option for nasm with `-v'.

--- configure.orig	2006-06-08 19:17:51.000000000 +0000
+++ configure
@@ -1570,7 +1570,7 @@ echo "$as_me: error: Please run bootstra
    { (exit 1); exit 1; }; }
    exit -1
 fi
-rm -f config.h >&/dev/null
+rm -f config.h >/dev/null
 touch config.h
 ac_aux_dir=
 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
@@ -28881,7 +28881,7 @@ fi
    if test x$USENASM = xtrue; then
 	echo "$as_me:$LINENO: checking nasm version..." >&5
 echo $ECHO_N "checking nasm version...... $ECHO_C" >&6
-	BILLSNASM_arg=`nasm -r | tr '.' ' '`
+	BILLSNASM_arg=`nasm -v | tr '.' ' '`
         BILLSNASM_ret=`util/testnasm.sh $BILLSNASM_arg`
 	if test x$BILLSNASM_ret = x"yes"; then
 	   USENASM=true
