4
0

strdup.m4 599 B

12345678910111213141516171819202122
  1. # strdup.m4 serial 9
  2. dnl Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software
  3. dnl Foundation, 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_STRDUP],
  8. [
  9. AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
  10. AC_REPLACE_FUNCS(strdup)
  11. AC_CHECK_DECLS_ONCE(strdup)
  12. if test $ac_cv_have_decl_strdup = no; then
  13. HAVE_DECL_STRDUP=0
  14. fi
  15. gl_PREREQ_STRDUP
  16. ])
  17. # Prerequisites of lib/strdup.c.
  18. AC_DEFUN([gl_PREREQ_STRDUP], [:])