On Thu, Mar 28, 2019 at 4:19 PM William A Rowe Jr <wr...@rowe-clan.net> wrote: > > So... What is our preferred solution as of 1.7.0? > > 1. Drop readdir[64]_r for readdir[64] always. > 2. Allow readdir[64]_r with an autoconf toggle, skip detection. > 3. Override readdir[64]_r detection with a test of ldd --version >= 2.24
How about http://svn.apache.org/r1856274 ? That's an autoconf to detect warnings when compiling readdir_r(), any warning but the simply main() shouldn't raise unrelated ones hopefully..., such that in this case we use readdir()?