diff options
-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]*) |