libstdc++: Fix autoconf check for O_NONBLOCK in <fcntl.h>
commitb68561dd7925dfee1836f75d3fa8d33fff5c2498
authorJonathan Wakely <jwakely@redhat.com>
Wed, 28 Aug 2024 11:38:18 +0000 (28 12:38 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 28 Aug 2024 20:34:22 +0000 (28 21:34 +0100)
treeb9fa2f7eb2f02368e42c10b25e20d8f851b5f049
parent51b0fef4e6ee01ed2509bd54a448d2564a89c518
libstdc++: Fix autoconf check for O_NONBLOCK in <fcntl.h>

I misused the AC_CHECK_DECL macro, assuming that it behaved like
AC_CHECK_DECLS and always defined a HAVE_xxx macro if the decl was
found. Instead, the [action-if-found] shell commands are needed to
defined HAVE_O_NONBLOCK explicitly.

libstdc++-v3/ChangeLog:

* configure.ac: Fix check for O_NONBLOCK.
* config.h.in: Regenerate.
* configure: Regenerate.
libstdc++-v3/config.h.in
libstdc++-v3/configure
libstdc++-v3/configure.ac