Upstream-Status: Inappropriate [configuration]

diff -ruN dpkg-1.15.8.5-orig/m4/dpkg-funcs.m4 dpkg-1.15.8.5/m4/dpkg-funcs.m4
--- dpkg-1.15.8.5-orig/m4/dpkg-funcs.m4	2010-10-08 12:27:15.082131611 +0800
+++ dpkg-1.15.8.5/m4/dpkg-funcs.m4	2010-10-08 13:56:50.074284346 +0800
@@ -27,7 +27,7 @@
 # -----------------------
 # Define HAVE_C99_SNPRINTF if we have C99 snprintf family semantics
 AC_DEFUN([DPKG_FUNC_C99_SNPRINTF],
-[AC_CACHE_CHECK([for C99 snprintf functions], [dpkg_cv_c99_snprintf],
+[AC_CACHE_CHECK([for C99 snprintf functions], [ac_cv_func_snprintf_c99],
 	[AC_RUN_IFELSE([AC_LANG_SOURCE([[
 #include <stdarg.h>
 #include <stdio.h>
@@ -58,14 +58,14 @@
 	return 0;
 }
 	]])],
-	[dpkg_cv_c99_snprintf=yes],
-	[dpkg_cv_c99_snprintf=no],
-	[dpkg_cv_c99_snprintf=no])])
-AS_IF([test "x$dpkg_cv_c99_snprintf" = "xyes"],
+	[ac_cv_func_snprintf_c99=yes],
+	[ac_cv_func_snprintf_c99=no],
+	[ac_cv_func_snprintf_c99=no])])
+AS_IF([test "x$ac_cv_func_snprintf_c99" = "xyes"],
 	[AC_DEFINE([HAVE_C99_SNPRINTF], 1,
 	           [Define to 1 if the 'snprintf' family is C99 conformant])],
 	)
-AM_CONDITIONAL(HAVE_C99_SNPRINTF, [test "x$dpkg_cv_c99_snprintf" = "xyes"])
+AM_CONDITIONAL(HAVE_C99_SNPRINTF, [test "x$ac_cv_func_snprintf_c99" = "xyes"])
 ])# DPKG_FUNC_C99_SNPRINTF
 
 # DPKG_MMAP
