From 6626660c229e9b0d6253e2c9cdb46b3db6c33541 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Thu, 13 May 1999 21:16:49 +0000 Subject: Fixes from Andy Dougherty (via private email). p4raw-id: //depot/cfgperl@3415 --- Configure | 42 ++++++++++++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 14 deletions(-) (limited to 'Configure') diff --git a/Configure b/Configure index 890bfd472c..2735828ed3 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Thu May 13 16:42:40 EET DST 1999 [metaconfig 3.0 PL70] +# Generated on Fri May 14 00:11:18 EET DST 1999 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.com) cat >/tmp/c1$$ < which we generally avoid, but need for this test. +# For everyone else, we'll trust i_unistd. +t_unistd=$i_unistd +case "$osname" in +sunos) $test -f /usr/include/unistd.h && t_unistd=$define ;; +esac $cat >&4 <try.c < -#$i_unistd I_UNISTD +#$t_unistd I_UNISTD #ifdef I_UNISTD #include #endif @@ -11013,7 +11020,7 @@ if $test "X$fflushNULL" = X -o "X$fflushall" = X; then output='' set try -DTRY_FPUTC $rm -f try.out - if eval $compile_ok; then + if eval $compile; then ./try$exe_ext 2>/dev/null if $test ! -s try.out -a "X$?" = X42; then output=-DTRY_FPUTC @@ -11023,7 +11030,7 @@ if $test "X$fflushNULL" = X -o "X$fflushall" = X; then '') set try -DTRY_FPRINTF $rm -f try.out - if eval $compile_ok; then + if eval $compile; then ./try$exe_ext 2>/dev/null if $test ! -s try.out -a "X$?" = X42; then output=-DTRY_FPRINTF @@ -11036,7 +11043,7 @@ fi case "$fflushNULL" in '') set try -DTRY_FFLUSH_NULL $output $rm -f try.out - if eval $compile_ok; then + if eval $compile; then ./try$exe_ext 2>/dev/null if $test -s try.out -a "X$?" = X42; then fflushNULL="`$cat try.out`" @@ -11044,17 +11051,17 @@ case "$fflushNULL" in fi $rm -f core try.core core.try.* case "$fflushNULL" in - x) cat >&4 <&4 <&4 <&4 <&4 <&4 </dev/null if $test -s try.out -a "X$?" = X42; then fflushall="`$cat try.out`" @@ -11081,23 +11088,30 @@ case "$fflushall" in fi $rm -f core try.core core.try.* case "$fflushall" in - x) cat >&4 <&4 <&4 <&4 <&4 <&4 <&4 <