Thread (6 messages) flat view 6 messages, 3 authors, 2016-06-15

Re: [PATCH v3] autoconf: Test FREAD_READS_DIRECTORIES

From: Mike Ralphson <hidden>
Date: 2016-06-15 22:44:20

On 04/03/2008, Michal Rokos [off-list ref] wrote:
Add test for FREAD_READS_DIRECTORIES to configure script.

 When "." could be opened and fread reads more than 0 items,
 FREAD_READS_DIRECTORIES will be set.
On AIX 5.3 this appears to work correctly, i.e. it defines
FREAD_READS_DIRECTORIES

I've negatively tested it just by swapping the return values.

It is susceptible to failing for other reasons than those expected
(i.e. the configure script gets the libsocket test wrong on my
platform if I forget to amend CFLAGS because libg is not available,
and then various tests including this one fail because libsocket is
erroneously linked in and the test programs fail to compile at all),
but that is I think a wider issue with autoconf tests in general.

So, with those caveats:

Tested-by: Mike Ralphson <redacted>

Patch to set this option by default on AIX for the non-autoconf
Makefile to follow.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help