diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-08-10 15:56:52 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-08-10 15:59:34 -0700 |
commit | eaa68f1c85126fa48601f3a40e9c930b01f8660e (patch) | |
tree | 4bdea44a5e06cc5b1f5de2fc59391b8972a7a2d8 /configure.in | |
parent | 767750b666f0e66b25fa9d1c7b905a935c637786 (diff) | |
download | nasm-eaa68f1c85126fa48601f3a40e9c930b01f8660e.tar.gz nasm-eaa68f1c85126fa48601f3a40e9c930b01f8660e.tar.bz2 nasm-eaa68f1c85126fa48601f3a40e9c930b01f8660e.zip |
Add strlcpy() function
Add strlcpy() function and implementation, and use configure to detect
if strlcpy() is natively available on the system.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.in b/configure.in index b47675b..c23bac1 100644 --- a/configure.in +++ b/configure.in @@ -130,6 +130,7 @@ fi AC_CHECK_FUNCS(strcasecmp stricmp) AC_CHECK_FUNCS(strncasecmp strnicmp) AC_CHECK_FUNCS(strsep) +AC_CHECK_FUNCS(strlcpy) AC_CHECK_FUNCS(getuid) AC_CHECK_FUNCS(getgid) @@ -142,6 +143,7 @@ AC_CHECK_DECLS(stricmp) AC_CHECK_DECLS(strncasecmp) AC_CHECK_DECLS(strnicmp) AC_CHECK_DECLS(strsep) +AC_CHECK_DECLS(strlcpy) if test $ac_cv_prog_make_vpathok = no; then echo Copying generated srcs into build directory to compensate for VPATH breakage |