diff options
author | Brian Fraser <fraserbn@gmail.com> | 2014-01-26 01:06:40 -0300 |
---|---|---|
committer | Brian Fraser <fraserbn@gmail.com> | 2014-01-26 14:44:25 -0300 |
commit | 8d6f7939bfc611dedd9b5c694563ca08c063d5fc (patch) | |
tree | 9cd51273121978ad9e460ecce94741b5790621de /Configure | |
parent | b962ec999041cd2b045bb6ff8162c66c647dc2d1 (diff) | |
download | perl-8d6f7939bfc611dedd9b5c694563ca08c063d5fc.tar.gz |
Configure: Fix the fflush(NULL) test in cross builds
Second attempt at this. This is less portable than the previous
version, since it assumes that the target system will have a cat, but unlike
the previous version this now actually works.
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -19712,7 +19712,8 @@ EOCP # Copy the .c file to the remote host ($to is an ssh-alike if targethost is set) if $test "X$targethost" != X; then $to tryp.c - $run ./tryp \< tryp.c 2>/dev/null > tryp.out + $to tryp + $run "cat tryp.c | ./tryp" 2>/dev/null > tryp.out else $cat tryp.c | $run ./tryp 2>/dev/null > tryp.out fi @@ -19781,7 +19782,8 @@ EOCP $rm -f tryp.out if $test "X$targethost" != X; then $to tryp.c - $run ./tryp \< tryp.c 2>/dev/null > tryp.out + $to tryp + $run "cat tryp.c | ./tryp" 2>/dev/null > tryp.out else $cat tryp.c | $run ./tryp 2>/dev/null > tryp.out fi |