maint: update copyright
[gnulib.git] / m4 / dprintf.m4
1 # dprintf.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_DPRINTF],
8 [
9   AC_REQUIRE([gl_STDIO_H_DEFAULTS])
10   AC_CHECK_FUNCS_ONCE([dprintf])
11   if test $ac_cv_func_dprintf = no; then
12     HAVE_DPRINTF=0
13     gl_REPLACE_DPRINTF
14   fi
15 ])
16
17 AC_DEFUN([gl_REPLACE_DPRINTF],
18 [
19   AC_REQUIRE([gl_STDIO_H_DEFAULTS])
20   AC_LIBOBJ([dprintf])
21   if test $ac_cv_func_dprintf = yes; then
22     REPLACE_DPRINTF=1
23   fi
24   gl_PREREQ_DPRINTF
25 ])
26
27 # Prerequisites of lib/dprintf.c.
28 AC_DEFUN([gl_PREREQ_DPRINTF], [:])