On Fri, 1 Jun 2007 04:31:03 +0300 (EEST), Jarkko Hietaniemi <jhi@cc.hut.fi> wrote: Ooooh, this is wrooong (in the state this patch was shown) d_pipe *and* d_fork are defined *AFTER* you check them. Thanks to all the great utils that are available to maintain Configure, a modified patch has been applied as change #31323 (BTW that also includes your dangling \n from recently) > --- Configure.dist 2007-06-01 04:23:38.000000000 +0300 > +++ Configure 2007-06-01 04:27:28.000000000 +0300 > @@ -12220,6 +12220,8 @@ > echo "Let's see what value errno gets from read() on a $o_nonblock file..." >&4 > case "$eagain" in > '') > + case "$d_fork:$d_pipe" in > + define:define) > $cat head.c > try.c > $cat >>try.c <<EOCP > #include <errno.h> > @@ -12352,6 +12354,12 @@ > echo "I can't compile the test program--assuming errno EAGAIN will do." > eagain=EAGAIN > fi > + ;; > + *) echo "Can't figure out how to test this--assuming errno EAGAIN will do." > + eagain=EAGAIN > + val="$define" > + ;; > + esac > set d_eofnblk > eval $setvar > ;; > -- H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/) using & porting perl 5.6.2, 5.8.x, 5.9.x on HP-UX 10.20, 11.00, 11.11, & 11.23, SuSE 10.0 & 10.2, AIX 4.3 & 5.2, and Cygwin. http://qa.perl.org http://mirrors.develooper.com/hpux/ http://www.test-smoke.org http://www.goldmark.org/jeff/stupid-disclaimers/Thread Previous