mempcpy.m4 742 B

123456789101112131415161718192021222324252627
  1. # mempcpy.m4 serial 11
  2. dnl Copyright (C) 2003-2004, 2006-2007, 2009-2013 Free Software Foundation,
  3. dnl Inc.
  4. dnl This file is free software; the Free Software Foundation
  5. dnl gives unlimited permission to copy and/or distribute it,
  6. dnl with or without modifications, as long as this notice is preserved.
  7. AC_DEFUN([gl_FUNC_MEMPCPY],
  8. [
  9. dnl Persuade glibc <string.h> to declare mempcpy().
  10. AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
  11. dnl The mempcpy() declaration in lib/string.in.h uses 'restrict'.
  12. AC_REQUIRE([AC_C_RESTRICT])
  13. AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
  14. AC_CHECK_FUNCS([mempcpy])
  15. if test $ac_cv_func_mempcpy = no; then
  16. HAVE_MEMPCPY=0
  17. fi
  18. ])
  19. # Prerequisites of lib/mempcpy.c.
  20. AC_DEFUN([gl_PREREQ_MEMPCPY], [
  21. :
  22. ])