adjusted to work with the updated configure.ac
authorDaniel Stenberg <daniel@haxx.se>
Wed, 7 May 2008 21:27:35 +0000 (21:27 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 7 May 2008 21:27:35 +0000 (21:27 +0000)
maketgz

diff --git a/maketgz b/maketgz
index 6abe3f1..ab17a26 100755 (executable)
--- a/maketgz
+++ b/maketgz
@@ -38,7 +38,7 @@ if(!-f "configure") {
     `./buildconf`;
 }
 print "adding $version in the configure.ac file\n";
-`sed -e 's/AM_INIT_AUTOMAKE(c-ares, CVS)/AM_INIT_AUTOMAKE(c-ares, $version)/' < configure.ac > configure.ac-rel`;
+`sed -e 's/AC_INIT.*/AC_INIT([c-ares], [$version])/' < configure.ac > configure.ac-rel`;
 
 # now make a new configure script with this
 print "makes a new configure script\n";