3
dnl Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software
6
dnl This file is free software; the Free Software Foundation
7
dnl gives unlimited permission to copy and/or distribute it,
8
dnl with or without modifications, as long as this notice is preserved.
10
AC_DEFUN([gl_FUNC_STRDUP],
12
AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
13
AC_REPLACE_FUNCS(strdup)
14
AC_CHECK_DECLS_ONCE(strdup)
15
if test $ac_cv_have_decl_strdup = no; then
21
# Prerequisites of lib/strdup.c.
22
AC_DEFUN([gl_PREREQ_STRDUP], [:])