summaryrefslogtreecommitdiff
path: root/m4/vasnprintf.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-05-06 15:29:04 +0000
committerBruno Haible <bruno@clisp.org>2007-05-06 15:29:04 +0000
commit2bb894abc6dd417e094aa63774a2bc8b04acb965 (patch)
tree970c0f67597949857ba7f1bc4ecfb628b7eaf13f /m4/vasnprintf.m4
parent69868c2282ec566818278b1bc8906439733a94b6 (diff)
downloadgnulib-2bb894abc6dd417e094aa63774a2bc8b04acb965.tar.gz
Work around lack of support of grouping flag.
Diffstat (limited to 'm4/vasnprintf.m4')
-rw-r--r--m4/vasnprintf.m417
1 files changed, 16 insertions, 1 deletions
diff --git a/m4/vasnprintf.m4 b/m4/vasnprintf.m4
index 79886e75f4..773c92f961 100644
--- a/m4/vasnprintf.m4
+++ b/m4/vasnprintf.m4
@@ -1,4 +1,4 @@
-# vasnprintf.m4 serial 13
+# vasnprintf.m4 serial 14
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,
@@ -90,6 +90,21 @@ AC_DEFUN([gl_PREREQ_VASNPRINTF_DIRECTIVE_F],
esac
])
+# Extra prerequisites of lib/vasnprintf.c for supporting the ' flag.
+AC_DEFUN([gl_PREREQ_VASNPRINTF_FLAG_GROUPING],
+[
+ AC_REQUIRE([gl_PRINTF_FLAG_GROUPING])
+ case "$gl_cv_func_printf_flag_grouping" in
+ *yes)
+ ;;
+ *)
+ AC_DEFINE([NEED_PRINTF_FLAG_GROUPING], 1,
+ [Define if the vasnprintf implementation needs special code for the
+ ' flag.])
+ ;;
+ esac
+])
+
# Prerequisites of lib/asnprintf.c.
AC_DEFUN([gl_PREREQ_ASNPRINTF],
[