fix c-ares version reported in generated libcares.pc file when building

from CVS tree.
This commit is contained in:
Yang Tse
2008-07-07 02:11:21 +00:00
parent 13f4c3ea54
commit 371f63f73a
2 changed files with 14 additions and 3 deletions
+3 -1
View File
@@ -38,7 +38,7 @@ if(!-f "configure") {
`./buildconf`;
}
print "adding $version in the configure.ac file\n";
`sed -e 's/AC_INIT.*/AC_INIT([c-ares], [$version])/' < configure.ac > configure.ac.dist`;
`sed -e 's/AC_INIT.*/AC_INIT([c-ares], [$version],/' < configure.ac > configure.ac.dist`;
# now make a new configure script with this
print "makes a new configure script\n";
@@ -54,5 +54,7 @@ print "running make dist\n";
print "removing temporary configure.ac file\n";
`rm configure.ac.dist`;
print "removing temporary ares_version.h file\n";
`rm ares_version.h.dist`;
print "NOTE: now cvs tag this release!\n";