make sure the configure.ac file with the correct version number is shipped

in the tarball
This commit is contained in:
Daniel Stenberg
2008-05-22 17:41:29 +00:00
parent 9a22b893b6
commit 498e939f0e

View File

@@ -38,11 +38,11 @@ if(!-f "configure") {
`./buildconf`; `./buildconf`;
} }
print "adding $version in the configure.ac file\n"; print "adding $version in the configure.ac file\n";
`sed -e 's/AC_INIT.*/AC_INIT([c-ares], [$version])/' < configure.ac > configure.ac-rel`; `sed -e 's/AC_INIT.*/AC_INIT([c-ares], [$version])/' < configure.ac > configure.ac.dist`;
# now make a new configure script with this # now make a new configure script with this
print "makes a new configure script\n"; print "makes a new configure script\n";
`autoconf configure.ac-rel >configure`; `autoconf configure.ac.dist >configure`;
# now run this new configure to get a fine makefile # now run this new configure to get a fine makefile
print "running configure\n"; print "running configure\n";
@@ -53,6 +53,6 @@ print "running make dist\n";
`make dist`; `make dist`;
print "removing temporary configure.ac file\n"; print "removing temporary configure.ac file\n";
`rm configure.ac-rel`; `rm configure.ac.dist`;
print "NOTE: now cvs tag this release!\n"; print "NOTE: now cvs tag this release!\n";