--- Makefile.PL.orig 2019-12-22 16:36:45.000000000 -0800 +++ Makefile.PL 2019-12-22 16:42:07.000000000 -0800 @@ -156,14 +156,11 @@ } $common::cflags .= ' -DOLD_SELECT' unless $Config{i_sysselct}; -$common::cflags .= ' -DNO_MEMCPY' unless $Config{d_memcpy}; -$common::cflags .= ' -DHAVE_MEMCPY' if $Config{d_memcpy}; -$common::cflags .= ' -DNO_MEMSET' unless $Config{d_memset}; -$common::cflags .= ' -DHAVE_MEMSET' if $Config{d_memset}; -$common::cflags .= ' -DNO_STRCHR' unless $Config{d_strchr}; +$common::cflags .= ' -DHAVE_MEMCPY'; +$common::cflags .= ' -DHAVE_MEMSET'; # Assume that STRSTR and STRCHR are present simultaneously: -$common::cflags .= ' -DHAVE_STRCHR -DHAVE_STRSTR' if $Config{d_strchr}; -$common::cflags .= ' -DHAVE_STRERROR' if $Config{d_strerror}; +$common::cflags .= ' -DHAVE_STRCHR -DHAVE_STRSTR'; +$common::cflags .= ' -DHAVE_STRERROR'; $common::cflags .= ' -DANSI_C' if $Config{'prototype'}; # Will -DPROTOTYPES automatically $common::cflags .= ' -Dconst=' unless $Config{d_const}; $common::cflags .= ' -DNOCOPY' unless $Config{d_bcopy};