summaryrefslogtreecommitdiff
path: root/m4/vasprintf-posix.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2007-03-26 02:15:46 +0000
committerBruno Haible <bruno@clisp.org>2007-03-26 02:15:46 +0000
commit5b57d6d54bcc8b9339b6216e0d62e750ab6e2ef3 (patch)
tree771cc9b3f940ab01a7a283ea17c06af4ebeb4692 /m4/vasprintf-posix.m4
parentc2a27af8e00b5f7d0b6fcdea066daecae3d50d30 (diff)
downloadgnulib-5b57d6d54bcc8b9339b6216e0d62e750ab6e2ef3.tar.gz
Prefer nl_langinfo over localeconv.
Diffstat (limited to 'm4/vasprintf-posix.m4')
-rw-r--r--m4/vasprintf-posix.m48
1 files changed, 2 insertions, 6 deletions
diff --git a/m4/vasprintf-posix.m4 b/m4/vasprintf-posix.m4
index 079ac768bc..7ab9ab6ee4 100644
--- a/m4/vasprintf-posix.m4
+++ b/m4/vasprintf-posix.m4
@@ -1,4 +1,4 @@
-# vasprintf-posix.m4 serial 2
+# vasprintf-posix.m4 serial 3
dnl Copyright (C) 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,
@@ -34,11 +34,7 @@ AC_DEFUN([gl_FUNC_VASPRINTF_POSIX],
;;
esac
if test $gl_cv_func_vasprintf_posix = no; then
- if ! expr "$gl_cv_func_printf_directive_a" : ".*yes" > /dev/null; then
- AC_DEFINE([NEED_PRINTF_DIRECTIVE_A], 1,
- [Define if the vasnprintf implementation needs special code for
- the 'a' and 'A' directives.])
- fi
+ gl_PREREQ_VASNPRINTF_DIRECTIVE_A
gl_REPLACE_VASNPRINTF
gl_REPLACE_VASPRINTF
fi