maint: update copyright
[gnulib.git] / m4 / vdprintf.m4
1 # vdprintf.m4 serial 1
2 dnl Copyright (C) 2009-2014 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_VDPRINTF],
8 [
9   AC_REQUIRE([gl_STDIO_H_DEFAULTS])
10   AC_CHECK_FUNCS_ONCE([vdprintf])
11   if test $ac_cv_func_vdprintf = no; then
12     HAVE_VDPRINTF=0
13     gl_REPLACE_VDPRINTF
14   fi
15 ])
16
17 AC_DEFUN([gl_REPLACE_VDPRINTF],
18 [
19   AC_REQUIRE([gl_STDIO_H_DEFAULTS])
20   AC_LIBOBJ([vdprintf])
21   if test $ac_cv_func_vdprintf = yes; then
22     REPLACE_VDPRINTF=1
23   fi
24   gl_PREREQ_VDPRINTF
25 ])
26
27 # Prerequisites of lib/vdprintf.c.
28 AC_DEFUN([gl_PREREQ_VDPRINTF], [:])