From: Yang Tse Date: Sun, 22 Nov 2009 05:31:31 +0000 (+0000) Subject: Make configure remove the ares_build.h file included in distribution tarballs. X-Git-Tag: upstream/1.10.0~363 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=17e6785e05bd19e7cac4aec96b781d5a41974e4b;p=platform%2Fupstream%2Fc-ares.git Make configure remove the ares_build.h file included in distribution tarballs. --- diff --git a/configure.ac b/configure.ac index 04c903f..7321677 100644 --- a/configure.ac +++ b/configure.ac @@ -60,6 +60,11 @@ if test -z "$AR" || test "$AR" = "not_found"; then fi AC_SUBST([AR]) +dnl Remove non-configure distributed ares_build.h +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])