diff options
author | Aaron Crane <arc@cpan.org> | 2017-10-14 16:10:31 +0200 |
---|---|---|
committer | Aaron Crane <arc@cpan.org> | 2017-10-21 16:53:21 +0100 |
commit | 81f9da18781fda785bd4c55602364ac5ce848a10 (patch) | |
tree | 6c9bae6ad361747afe316292fe88f8c42c51cd7d /Configure | |
parent | 6ff2ec7da32d2a2afeb2b1b0a1d5a78e2d573402 (diff) | |
download | perl-81f9da18781fda785bd4c55602364ac5ce848a10.tar.gz |
Don't attempt to use non-standard <memory.h>
It's only needed on systems without C89 <string.h>, which we rely on anyway.
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 26 |
1 files changed, 0 insertions, 26 deletions
@@ -991,7 +991,6 @@ i_locale='' i_machcthr='' i_malloc='' i_mallocmalloc='' -i_memory='' i_mntent='' d_gdbm_ndbm_h_uses_prototypes='' d_gdbmndbm_h_uses_prototypes='' @@ -22659,30 +22658,6 @@ else i_machcthr="$undef" fi -: see if memory.h is available. -val='' -set memory.h val -eval $inhdr - -: See if it conflicts with string.h -case "$val" in -$define) - case "$strings" in - '') ;; - *) - $cppstdin $cppflags $cppminus < $strings > mem.h - if $contains 'memcpy' mem.h >/dev/null 2>&1; then - echo " " - echo "We won't be including <memory.h>." - val="$undef" - fi - $rm -f mem.h - ;; - esac -esac -set i_memory -eval $setvar - : see if this is a mntent.h system set mntent.h i_mntent eval $inhdr @@ -24428,7 +24403,6 @@ i_locale='$i_locale' i_machcthr='$i_machcthr' i_malloc='$i_malloc' i_mallocmalloc='$i_mallocmalloc' -i_memory='$i_memory' i_mntent='$i_mntent' i_ndbm='$i_ndbm' i_netdb='$i_netdb' |