vasprintf.m4 816 B

123456789101112131415161718192021222324252627282930313233
  1. # vasprintf.m4 serial 2
  2. dnl Copyright (C) 2002-2003, 2006 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. AC_DEFUN([gl_FUNC_VASPRINTF],
  7. [
  8. AC_REPLACE_FUNCS(vasprintf)
  9. if test $ac_cv_func_vasprintf = no; then
  10. AC_LIBOBJ(asprintf)
  11. gl_PREREQ_VASPRINTF_H
  12. gl_PREREQ_VASPRINTF
  13. gl_PREREQ_ASPRINTF
  14. fi
  15. ])
  16. # Prerequisites of lib/vasprintf.h.
  17. AC_DEFUN([gl_PREREQ_VASPRINTF_H],
  18. [
  19. dnl Persuade glibc <stdio.h> to declare asprintf() and vasprintf().
  20. AC_REQUIRE([AC_GNU_SOURCE])
  21. ])
  22. # Prerequisites of lib/vasprintf.c.
  23. AC_DEFUN([gl_PREREQ_VASPRINTF],
  24. [
  25. ])
  26. # Prerequisites of lib/asprintf.c.
  27. AC_DEFUN([gl_PREREQ_ASPRINTF],
  28. [
  29. ])