configure: stop using the deprecated AM_INIT_AUTOMAKE syntax
authorDaniel Stenberg <daniel@haxx.se>
Tue, 15 Mar 2011 10:28:30 +0000 (11:28 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 15 Mar 2011 10:29:12 +0000 (11:29 +0100)
configure.ac

index ec1b8b4..1baa292 100644 (file)
@@ -66,11 +66,7 @@ if test -f ${srcdir}/ares_build.h; then
   rm -f ${srcdir}/ares_build.h
 fi
 
-dnl Fetch c-ares version from ares_version.h
-VERSION=`$SED -ne 's/^#define ARES_VERSION_STR "\(.*\)"/\1/p' ${srcdir}/ares_version.h`
-AM_INIT_AUTOMAKE([c-ares], [$VERSION])
-AC_MSG_CHECKING([c-ares version])
-AC_MSG_RESULT([$VERSION])
+AM_INIT_AUTOMAKE
 
 dnl
 dnl Detect the canonical host and target build environment