summaryrefslogtreecommitdiff
path: root/m4/vasprintf-posix.m4
diff options
context:
space:
mode:
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