On Mon, Aug 22, 2022 at 11:06 AM Martin Liška <mli...@suse.cz> wrote: > > On 8/19/22 09:44, Richard Biener wrote: > > libstdc++ uses > > > > # For Networking TS. > > AC_CHECK_HEADERS([fcntl.h sys/ioctl.h sys/socket.h sys/uio.h poll.h > > netdb.h arpa/inet.h netinet/in.h netinet/tcp.h]) > > AC_CHECK_DECL(F_GETFL,,,[#include <fcntl.h>]) > > AC_CHECK_DECL(F_SETFL,,,[#include <fcntl.h>]) > > if test "$ac_cv_have_decl_F_GETFL$ac_cv_have_decl_F_SETFL" = yesyes ; then > > AC_CHECK_DECL(O_NONBLOCK,,,[#include <fcntl.h>]) > > fi > > > > I'd rather not invent sth fancy with /dev/null (that seems very unixy) > > All right, there's v2. > > What do you think?
OK. > Martin