summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorAaron Crane <arc@cpan.org>2017-10-12 14:00:03 +0200
committerAaron Crane <arc@cpan.org>2017-10-21 16:51:36 +0100
commit1eb06a387814d96975ac806b89805b1e28e8080d (patch)
treef4b8fab42d7009f9196a7cd4233b9ec42158262e /hints
parent1c1d7d5ba0bc33e7bea0a9aeb2d420fc5a8128ab (diff)
downloadperl-1eb06a387814d96975ac806b89805b1e28e8080d.tar.gz
Assume we have C89 memcpy() and memmove()
We can therefore also avoid probing for and/or using BSD bcopy().
Diffstat (limited to 'hints')
-rw-r--r--hints/epix.sh2
-rw-r--r--hints/svr4.sh5
-rw-r--r--hints/svr5.sh5
3 files changed, 3 insertions, 9 deletions
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)'