* README.NetBSD:  use update-autotools instead of autoreconf
* update-autotools: print out tool name before invoking to aid debugging
diff --git a/ChangeLog b/ChangeLog
index 98ebfe7..a54249d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-02-02  Greg Troxel  <Greg Troxel <gdt@ir.bbn.com>>
+
+	* README.NetBSD:  use update-autotools instead of autoreconf
+
+	* update-autotools: print out tool name before invoking to aid debugging
+
 2006-12-08 Paul Jakma <paul.jakma@sun.com>
 
 	* configure.ac: Bump to 0.99.6
diff --git a/README.NetBSD b/README.NetBSD
index e859728..f358245 100755
--- a/README.NetBSD
+++ b/README.NetBSD
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-$Id: README.NetBSD,v 1.1 2005/12/29 15:40:49 gdt Exp $
+$Id$
 
 # This file is helpful for building quagga from cvs on NetBSD, and
 # probably on any system using pkgsrc.  
@@ -9,7 +9,7 @@
 case $1 in
 
     build)
-	autoreconf -i -s
+	./update-autotools
 	LDFLAGS="-L/usr/pkg/lib -R/usr/pkg/lib" CPPFLAGS="-I/usr/pkg/include" \
     	./configure --prefix=/usr/quagga \
 	    --sysconfdir=/etc/zebra --localstatedir=/var/run/zebra \
diff --git a/update-autotools b/update-autotools
index 4e055bc..d5db16d 100755
--- a/update-autotools
+++ b/update-autotools
@@ -5,6 +5,7 @@
 #
 
 rm -f config.cache Makefile.in aclocal.m4 config.h.in configure
+rm -rf config.guess config.sub ltmain.sh
 rm -rf autom4te.cache
 
 echo "This $0 script is deprecated, and will be removed at some stage."
@@ -15,10 +16,13 @@
   $tool --version | head -1
 done
 
-echo "UPDATING:"
+echo "ACLOCAL:"
 aclocal -I m4
+echo "AUTOHEADER:"
 autoheader
+echo "AUTOCONF:"
 autoconf
+echo "LIBTOOLIZE:"
 libtoolize -c
+echo "AUTOMAKE"
 automake --gnu --add-missing --copy
-