+2007-11-10 Bruno Haible <bruno@clisp.org>
+
+ * m4/vasnprintf.m4 (gl_PREREQ_PRINTF_PARSE): Use same check for
+ ptrdiff_t as m4/intl.m4.
+
2007-11-10 Jim Meyering <meyering@redhat.com>
Avoid link failure for the argmatch test.
-# vasnprintf.m4 serial 22
+# vasnprintf.m4 serial 23
dnl Copyright (C) 2002-2004, 2006-2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
AC_REQUIRE([gt_TYPE_WCHAR_T])
AC_REQUIRE([gt_TYPE_WINT_T])
AC_REQUIRE([AC_TYPE_SIZE_T])
- AC_CHECK_TYPES(ptrdiff_t)
+ AC_CHECK_TYPE([ptrdiff_t], ,
+ [AC_DEFINE([ptrdiff_t], [long],
+ [Define as the type of the result of subtracting two pointers, if the system doesn't define it.])
+ ])
AC_REQUIRE([gt_AC_TYPE_INTMAX_T])
])