diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-05-12 10:40:42 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-05-12 10:40:42 +0000 |
commit | c2fddd50450fa89ab58958e40458d184ec085685 (patch) | |
tree | f088af2c98f45e43ac8f9ca8df180262c278372c /Configure | |
parent | 66fe083fc7dcf6d1e6ac684950a8d123a6bddde0 (diff) | |
download | perl-c2fddd50450fa89ab58958e40458d184ec085685.tar.gz |
A better, shinier, and possibly even correctly working
reincarnation of #3398.
p4raw-id: //depot/cfgperl@3401
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 30 |
1 files changed, 17 insertions, 13 deletions
@@ -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]*) |