mirror of
https://git.zap.org.au/git/trader.git
synced 2024-10-27 18:20:13 -04:00
c7f2343052
The auto-generated files are created by running ./build-aux/bootstrap with Gnulib as at commit d72683055ea46253d8eb8f89341eff5414ae6ca0 (with a date stamp of Sun Jul 24 23:37:17 2011 +0200), Autoconf 2.68 and Automake 1.11.1.
37 lines
943 B
Plaintext
37 lines
943 B
Plaintext
# strdup.m4 serial 13
|
|
|
|
dnl Copyright (C) 2002-2011 Free Software Foundation, Inc.
|
|
|
|
dnl This file is free software; the Free Software Foundation
|
|
dnl gives unlimited permission to copy and/or distribute it,
|
|
dnl with or without modifications, as long as this notice is preserved.
|
|
|
|
AC_DEFUN([gl_FUNC_STRDUP],
|
|
[
|
|
AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
|
|
AC_CHECK_FUNCS_ONCE([strdup])
|
|
AC_CHECK_DECLS_ONCE([strdup])
|
|
if test $ac_cv_have_decl_strdup = no; then
|
|
HAVE_DECL_STRDUP=0
|
|
fi
|
|
])
|
|
|
|
AC_DEFUN([gl_FUNC_STRDUP_POSIX],
|
|
[
|
|
AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
|
|
AC_REQUIRE([gl_CHECK_MALLOC_POSIX])
|
|
AC_CHECK_FUNCS_ONCE([strdup])
|
|
if test $ac_cv_func_strdup = yes; then
|
|
if test $gl_cv_func_malloc_posix != yes; then
|
|
REPLACE_STRDUP=1
|
|
fi
|
|
fi
|
|
AC_CHECK_DECLS_ONCE([strdup])
|
|
if test $ac_cv_have_decl_strdup = no; then
|
|
HAVE_DECL_STRDUP=0
|
|
fi
|
|
])
|
|
|
|
# Prerequisites of lib/strdup.c.
|
|
AC_DEFUN([gl_PREREQ_STRDUP], [:])
|