X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/a8dbc3a4eb2786c64e9f0341713dfd72f75aba12..48503d568f6f366a95e7f5b48535b0cd6600eaca:/Configure diff --git a/Configure b/Configure index 76ab5b3..cde374b 100755 --- a/Configure +++ b/Configure @@ -657,6 +657,7 @@ d_lstat='' d_madvise='' d_malloc_good_size='' d_malloc_size='' +d_malloc_usable_size='' d_mblen='' d_mbrlen='' d_mbrtowc='' @@ -8554,7 +8555,7 @@ EOM if $test "X$sysroot" != X; then case "$gccversion" in '') ;; - *) dflt="$dflt --sysroot $sysroot" ;; + *) dflt="$dflt --sysroot=$sysroot" ;; esac fi @@ -10386,15 +10387,15 @@ esac $cat >>try.c < -int checkit(char *expect, char *got) +void checkit(const char *expect, char *got) { if (strcmp(expect, got)) { printf("%s oddity: Expected %s, got %s\n", @@ -10575,6 +10576,7 @@ for xxx_convert in $xxx_list; do fi else echo "$xxx_convert NOT found." >&4 + xxx_convert='' fi done @@ -14090,6 +14092,7 @@ $cat >try.c < #include #include +#include int main () { @@ -16148,6 +16151,10 @@ eval $inlibc set malloc_good_size d_malloc_good_size eval $inlibc +: see if malloc_usable_size exists +set malloc_usable_size d_malloc_usable_size +eval $inlibc + : see if mblen exists set mblen d_mblen eval $inlibc @@ -24298,6 +24305,7 @@ d_lstat='$d_lstat' d_madvise='$d_madvise' d_malloc_good_size='$d_malloc_good_size' d_malloc_size='$d_malloc_size' +d_malloc_usable_size='$d_malloc_usable_size' d_mblen='$d_mblen' d_mbrlen='$d_mbrlen' d_mbrtowc='$d_mbrtowc'