2 dnl # 6.8 removed strlcpy.
4 AC_DEFUN([ZFS_AC_KERNEL_SRC_STRLCPY], [
5 ZFS_LINUX_TEST_SRC([kernel_has_strlcpy], [
6 #include <linux/string.h>
8 const char *src = "goodbye";
11 len = strlcpy(dst, src, sizeof (dst));
15 AC_DEFUN([ZFS_AC_KERNEL_STRLCPY], [
16 AC_MSG_CHECKING([whether strlcpy() exists])
17 ZFS_LINUX_TEST_RESULT([kernel_has_strlcpy], [
19 AC_DEFINE(HAVE_KERNEL_STRLCPY, 1,