X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/b905af4c1158d6ce72032009e9f8387d5a5f5285..7f4ec488653048a5623702c419020a9402453c6a:/configure.com diff --git a/configure.com b/configure.com index a44f401..4296bf4 100644 --- a/configure.com +++ b/configure.com @@ -4257,6 +4257,24 @@ $ tmp = "memrchr" $ GOSUB inlibc $ d_memrchr = tmp $! +$! Check for strnlen +$! +$ OS +$ WS "#if defined(__DECC) || defined(__DECCXX)" +$ WS "#include " +$ WS "#endif" +$ WS "#include " +$ WS "int main()" +$ WS "{" +$ WS "size_t len;" +$ WS "len = strnlen(""foot"", 3);" +$ WS "exit(0);" +$ WS "}" +$ CS +$ tmp = "strnlen" +$ GOSUB inlibc +$ d_strnlen = tmp +$! $! Check for strtoull $! $ OS @@ -6397,12 +6415,10 @@ $ WC "d_faststdio='" + d_faststdio + "'" $ WC "d_statvfs='" + d_statvfs + "'" $ WC "d_strchr='define'" $ WC "d_strcoll='" + d_strcoll + "'" -$ WC "d_strerrm='strerror((e),vaxc$errno)'" -$ WC "d_strerror='define'" $ WC "d_strftime='define'" $ WC "d_strlcat='undef'" $ WC "d_strlcpy='undef'" -$ WC "d_strnlen='undef'" +$ WC "d_strnlen='" + d_strnlen + "'" $ WC "d_strtod='define'" $ WC "d_strtol='define'" $ WC "d_strtold='" + d_strtold + "'" @@ -6533,7 +6549,6 @@ $ WC "i64type='" + i64type + "'" $ WC "i8size='" + i8size + "'" $ WC "i8type='" + i8type + "'" $ WC "i_arpainet='" + i_arpainet + "'" -$ WC "i_assert='define'" $ WC "i_bfd='undef'" $ WC "i_bsdioctl='undef'" $ WC "i_crypt='undef'" @@ -6559,8 +6574,6 @@ $ WC "i_machcthr='undef'" $ WC "i_machcthreads='undef'" $ WC "i_malloc='undef'" $ WC "i_mallocmalloc='undef'" -$ WC "i_math='define'" -$ WC "i_memory='undef'" $ WC "i_mntent='undef'" $ WC "i_ndbm='undef'" $ WC "i_netdb='" + i_netdb + "'" @@ -6584,7 +6597,6 @@ $ WC "i_stdbool='undef'" $ ENDIF $ WC "i_stdint='undef'" $ WC "i_stdlib='define'" -$ WC "i_string='define'" $ WC "i_sunmath='undef'" $ WC "i_sysaccess='" + i_sysaccess + "'" $ WC "i_sysdir='undef'" @@ -6621,7 +6633,6 @@ $ WC "i_time='define'" $ WC "i_unistd='" + i_unistd + "'" $ WC "i_ustat='undef'" $ WC "i_utime='" + i_utime + "'" -$ WC "i_values='undef'" $ WC "i_vfork='undef'" $ WC "i_wchar='undef'" $ WC "i_xlocale='undef'"