git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v3] autoconf: Test FREAD_READS_DIRECTORIES

From
Mike Ralphson <mike.ralphson@gmail.com>
Date
Mar 4, 2008, 15:32 UTC
Message-ID
<e2b179460803040732k222651c2vdb04e553b8137891@mail.gmail.com>
In-Reply-To
<200803041514.42783.michal.rokos@nextsoft.cz>
On 04/03/2008, Michal Rokos <michal.rokos@nextsoft.cz> 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 <mike@abacus.co.uk>

Patch to set this option by default on AIX for the non-autoconf Makefile to follow.

Previous: Johannes SchindelinNext: Mike Ralphson
Message 5 of 6 in “autoconf: Test FREAD_READS_DIRECTORIES”
  1. autoconf: Test FREAD_READS_DIRECTORIESMichal Rokos, Mar 4, 2008
  2. Johannes SchindelinMar 4, 2008
  3. Michal RokosMar 4, 2008
  4. Johannes SchindelinMar 4, 2008
  5. Mike RalphsonMar 4, 2008
  6. Fwd: [PATCH v3] autoconf: Test FREAD_READS_DIRECTORIESMike Ralphson, Mar 4, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.