From 1eb06a387814d96975ac806b89805b1e28e8080d Mon Sep 17 00:00:00 2001 From: Aaron Crane Date: Thu, 12 Oct 2017 14:00:03 +0200 Subject: Assume we have C89 memcpy() and memmove() We can therefore also avoid probing for and/or using BSD bcopy(). --- hints/epix.sh | 2 +- hints/svr4.sh | 5 +---- hints/svr5.sh | 5 +---- 3 files changed, 3 insertions(+), 9 deletions(-) (limited to 'hints') diff --git a/hints/epix.sh b/hints/epix.sh index 1b87e99890..14b56adaa8 100644 --- a/hints/epix.sh +++ b/hints/epix.sh @@ -55,7 +55,7 @@ libswanted=`echo " $libswanted " | sed -e 's/ malloc / /'` # -e 's/ ucb / /'` # it is needed for ODBM_File and NDBM_File extensions. if [ -r /usr/ucblib/libucb.a ]; then # If using BSD-compat. library: # Use the "native" counterparts, not the BSD emulation stuff: - d_bcmp='undef'; d_bcopy='undef'; d_safebcpy='undef' + d_bcmp='undef'; d_index='undef'; d_killpg='undef'; d_getprior='undef'; d_setprior='undef' d_setlinebuf='undef'; d_setregid='undef'; d_setreuid='undef' fi diff --git a/hints/svr4.sh b/hints/svr4.sh index 81b0740f6e..80fc9a98d6 100644 --- a/hints/svr4.sh +++ b/hints/svr4.sh @@ -25,7 +25,7 @@ libswanted=`echo " $libswanted " | sed -e 's/ malloc / /'` # -e 's/ ucb / /'` if [ -r /usr/ucblib/libucb.a ]; then # If using BSD-compat. library: gconvert_preference='gcvt sprintf' # Try gcvt() before gconvert(). # Use the "native" counterparts, not the BSD emulation stuff: - d_bcmp='undef' d_bcopy='undef' d_safebcpy='undef' + d_bcmp='undef' d_index='undef' d_killpg='undef' d_getprior='undef' d_setprior='undef' d_setlinebuf='undef' # d_setregid='undef' d_setreuid='undef' # ??? @@ -89,11 +89,9 @@ if [ "$uw_isuw" = "Release = 4.2MP" ]; then case $uw_ver in 2.1) d_csh='undef' - d_memcpy='define' ;; 2.1.*) d_csh='undef' - d_memcpy='define' stdio_cnt='((fp)->__cnt)' d_stdio_cnt_lval='define' stdio_ptr='((fp)->__ptr)' @@ -105,7 +103,6 @@ if [ "$uw_isuw" = "Release = 5" ]; then case $uw_ver in 7) d_csh='undef' - d_memcpy='define' stdio_cnt='((fp)->__cnt)' d_stdio_cnt_lval='define' stdio_ptr='((fp)->__ptr)' diff --git a/hints/svr5.sh b/hints/svr5.sh index 804db9a670..aeb673ac38 100644 --- a/hints/svr5.sh +++ b/hints/svr5.sh @@ -92,7 +92,7 @@ glibpth=`echo " $glibpth " | sed -e 's/ \/shlib / /' -e 's/ \/lib / /'` # Don't use BSD emulation pieces (/usr/ucblib) regardless # these would probably be autonondetected anyway but ... gconvert_preference='gcvt sprintf' # Try gcvt() before gconvert(). -d_bcopy='undef' d_bcmp='undef' d_safebcpy='undef' +d_bcmp='undef' d_index='undef' d_killpg='undef' d_getprior='undef' d_setprior='undef' d_setlinebuf='undef' d_setregid='undef' d_setreuid='undef' # -- in /usr/lib/libc.so.1 @@ -120,13 +120,11 @@ if [ "$uw_isuw" = "UnixWare" -o "$uw_isuw" = "OpenUNIX" ]; then case $uw_ver in 8.*|7.1*) d_csh='undef' - d_memcpy='define' stdio_cnt='((fp)->__cnt)' d_stdio_cnt_lval='define' stdio_ptr='((fp)->__ptr)' d_stdio_ptr_lval='define' - d_bcopy='define' # In /usr/lib/libc.so.1 d_setregid='define' # " d_setreuid='define' # " @@ -136,7 +134,6 @@ if [ "$uw_isuw" = "UnixWare" -o "$uw_isuw" = "OpenUNIX" ]; then ;; 7*) d_csh='undef' - d_memcpy='define' stdio_cnt='((fp)->__cnt)' d_stdio_cnt_lval='define' stdio_ptr='((fp)->__ptr)' -- cgit v1.2.1