diff --git a/ares/maketgz b/ares/maketgz
index f1e4969a277589b6cebf85a147f9dec323ce8505..224079ae10c5d0d7796cb4ee5bf1b342f2c79b38 100755
--- a/ares/maketgz
+++ b/ares/maketgz
@@ -21,7 +21,7 @@ print "adding $version in the configure.ac file\n";
 
 # now make a new configure script with this
 print "makes a new configure script\n";
-`autoconf configure.ac-rel`;
+`autoconf configure.ac-rel >configure`;
 
 # now run this new configure to get a fine makefile
 print "running configure\n";