Debian Codegraph @

m4/vprintf-posix.m4

raw
1 # vprintf-posix.m4 serial 3
2 dnl Copyright (C) 2007-2023 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
6
7 AC_DEFUN([gl_FUNC_VPRINTF_POSIX],
8 [
9 AC_REQUIRE([gl_FUNC_VFPRINTF_POSIX])
10 if test $gl_cv_func_vfprintf_posix = no; then
11 gl_REPLACE_VPRINTF
12 fi
13 ])
14
15 AC_DEFUN([gl_REPLACE_VPRINTF],
16 [
17 AC_REQUIRE([gl_STDIO_H_DEFAULTS])
18 AC_LIBOBJ([vprintf])
19 REPLACE_VPRINTF=1
20 AC_DEFINE([REPLACE_VPRINTF_POSIX], [1],
21 [Define if vprintf is overridden by a POSIX compliant gnulib implementation.])
22 gl_PREREQ_VPRINTF
23 ])
24
25 AC_DEFUN([gl_PREREQ_VPRINTF], [:])