From: Jarkko Hietaniemi <jhi@iki.fi> Date: Wed, 12 May 1999 10:40:42 +0000 (+0000) Subject: A better, shinier, and possibly even correctly working X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c2fddd50450fa89ab58958e40458d184ec085685;p=p5sagit%2Fp5-mst-13.2.git A better, shinier, and possibly even correctly working reincarnation of #3398. p4raw-id: //depot/cfgperl@3401 --- diff --git a/Configure b/Configure index ec15a53..82e86be 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 Wed May 12 12:24:25 EET DST 1999 [metaconfig 3.0 PL70] +# Generated on Wed May 12 13:22:22 EET DST 1999 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.com) cat >/tmp/c1$$ <<EOF @@ -10936,25 +10936,29 @@ EOCP set try $rm -f try.out if eval $compile_ok; then - case "`$cat try.out`" in - x) cat >&4 <<EOM + ./try$exe_ext + if $test -s try.out; then + fflushNULL="`$cat try.out`" + fi + fi + case "$fflushNULL" in + x) cat >&4 <<EOM Your fflush(NULL) works okay. EOM - fflushNULL=undef - ;; - '') cat >&4 <<EOM + fflushNULL=define + ;; + '') cat >&4 <<EOM Your fflush(NULL) isn't working (contrary to ANSI C). EOM - fflushNULL=undef - ;; - *) cat >&4 <<EOM + fflushNULL=undef + ;; + *) cat >&4 <<EOM Cannot figure out whether your fflush(NULL) works or not. I'm assuming it doesn't (contrary to ANSI C). EOM - fflushNULL=undef - ;; - esac - fi + fflushNULL=undef + ;; + esac $rm -f try.* try ;; $define|true|[yY]*)