]> git.proxmox.com Git - mirror_lxc.git/blobdiff - configure.ac
strlcpy: add strlcpy() implementation
[mirror_lxc.git] / configure.ac
index 2467bb54d23aa7248ae5147bdb4344a660905613..91e51d3245ee2ff8ae2564d6a14ec0379d829810 100644 (file)
@@ -620,6 +620,10 @@ AC_CHECK_FUNCS([prlimit64],
        AM_CONDITIONAL(HAVE_PRLIMIT64, true)
        AC_DEFINE(HAVE_PRLIMIT64,1,[Have prlimit64]),
        AM_CONDITIONAL(HAVE_PRLIMIT64, false))
+AC_CHECK_FUNCS([strlcpy],
+       AM_CONDITIONAL(HAVE_STRLCPY, true)
+       AC_DEFINE(HAVE_STRLCPY,1,[Have strlcpy]),
+       AM_CONDITIONAL(HAVE_STRLCPY, false))
 
 # Check for some libraries
 AX_PTHREAD