test-framework-sh: Fix typo in function invocation (regression 2024-06-11).
[gnulib.git] / m4 / wcpcpy.m4
blobf4008b16b046e2142e5079130d6c70418f6e8805
1 # wcpcpy.m4
2 # serial 3
3 dnl Copyright (C) 2011-2024 Free Software 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.
8 AC_DEFUN([gl_FUNC_WCPCPY],
10   AC_REQUIRE([gl_WCHAR_H_DEFAULTS])
12   dnl Persuade glibc <wchar.h> to declare wcpcpy().
13   AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
15   AC_CHECK_FUNCS_ONCE([wcpcpy])
16   if test $ac_cv_func_wcpcpy = no; then
17     HAVE_WCPCPY=0
18   fi