diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_DEVPOLL.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_DEVPOLL.h new file mode 100644 index 0000000..be384fc --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_DEVPOLL.h @@ -0,0 +1,14 @@ +// HAVE_DEVPOLL : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_DEVPOLL + +/* Since Solaris version ... (?). No version details in manual. + */ +#if (defined(__sun) && defined(__SVR4)) || \ + defined(__sun__) +# define HAVE_DEVPOLL 1 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_EPOLL.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_EPOLL.h new file mode 100644 index 0000000..17e151b --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_EPOLL.h @@ -0,0 +1,13 @@ +// HAVE_EPOLL : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_EPOLL + +/* Since glibc 2.3.2. + */ +#if BUILD2_AUTOCONF_GLIBC_PREREQ(2, 3) +# define HAVE_EPOLL 1 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_EPOLL_CREATE.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_EPOLL_CREATE.h new file mode 100644 index 0000000..0b7fab2 --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_EPOLL_CREATE.h @@ -0,0 +1,13 @@ +// HAVE_EPOLL_CREATE : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_EPOLL_CREATE + +/* Since glibc 2.3.2. + */ +#if BUILD2_AUTOCONF_GLIBC_PREREQ(2, 3) +# define HAVE_EPOLL_CREATE 1 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_EPOLL_CREATE1.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_EPOLL_CREATE1.h new file mode 100644 index 0000000..41a7aa3 --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_EPOLL_CREATE1.h @@ -0,0 +1,13 @@ +// HAVE_EPOLL_CREATE1 : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_EPOLL_CREATE1 + +/* Since glibc 2.9. + */ +#if BUILD2_AUTOCONF_GLIBC_PREREQ(2, 9) +# define HAVE_EPOLL_CREATE1 1 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_KQUEUE.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_KQUEUE.h new file mode 100644 index 0000000..c770527 --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_KQUEUE.h @@ -0,0 +1,16 @@ +// HAVE_KQUEUE : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_KQUEUE + +/* Since OpenBSD 2.9, FreeBSD 4.1, NetBSD 2.0, MacOS 10.0. + */ +#if BUILD2_AUTOCONF_OPENBSD_PREREQ(200106) || \ + BUILD2_AUTOCONF_FREEBSD_PREREQ(4, 1) || \ + BUILD2_AUTOCONF_NETBSD_PREREQ(2, 0) || \ + BUILD2_AUTOCONF_MACOS_PREREQ(10, 0) +# define HAVE_KQUEUE 1 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_WORKING_KQUEUE.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_WORKING_KQUEUE.h new file mode 100644 index 0000000..a397b42 --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_WORKING_KQUEUE.h @@ -0,0 +1,15 @@ +// HAVE_WORKING_KQUEUE : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_WORKING_KQUEUE + +/* Since ... + * NOTE: No reliable sources found. + See (some) info here: https://bugs.mysql.com/bug.php?id=105562 + */ +// #if ... +// # define HAVE_WORKING_KQUEUE 1 +// #endif