diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_SIGACTION.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_SIGACTION.h new file mode 100644 index 0000000..7a3b847 --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_SIGACTION.h @@ -0,0 +1,18 @@ +// HAVE_SIGACTION : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_SIGACTION + +/* Since POSIX.1 (OpenBSD, FreeBSD, NetBSD, Mac OS X), + * glibc 1.09 + */ +#if defined(__FreeBSD__) || \ + defined(__OpenBSD__) || \ + defined(__NetBSD__) || \ + defined(BUILD2_AUTOCONF_MACOS) || \ + BUILD2_AUTOCONF_GLIBC_PREREQ(1, 09) +# define HAVE_SIGACTION 1 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRSEP.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRSEP.h new file mode 100644 index 0000000..84e083a --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRSEP.h @@ -0,0 +1,18 @@ +// HAVE_STRSEP : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_STRSEP + +/* Since 4.4BSD (OpenBSD, FreeBSD, NetBSD, Mac OS X), + * glibc 1.09 + */ +#if defined(__FreeBSD__) || \ + defined(__OpenBSD__) || \ + defined(__NetBSD__) || \ + defined(BUILD2_AUTOCONF_MACOS) || \ + BUILD2_AUTOCONF_GLIBC_PREREQ(1, 09) +# define HAVE_STRSEP 1 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRTOK.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRTOK.h new file mode 100644 index 0000000..7a5d213 --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRTOK.h @@ -0,0 +1,18 @@ +// HAVE_STRTOK : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_STRTOK + +/* Since 4.4BSD (OpenBSD, FreeBSD, NetBSD, Mac OS X), + * glibc 2.0 + */ +#if defined(__FreeBSD__) || \ + defined(__OpenBSD__) || \ + defined(__NetBSD__) || \ + defined(BUILD2_AUTOCONF_MACOS) || \ + BUILD2_AUTOCONF_GLIBC_PREREQ(2, 0) +# define HAVE_STRTOK 1 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRTOK_R.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRTOK_R.h new file mode 100644 index 0000000..cb4fca3 --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRTOK_R.h @@ -0,0 +1,18 @@ +// HAVE_STRTOK_R : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_STRTOK_R + +/* Since 4.4BSD (OpenBSD, FreeBSD, NetBSD, Mac OS X), + * glibc 2.0 + */ +#if defined(__FreeBSD__) || \ + defined(__OpenBSD__) || \ + defined(__NetBSD__) || \ + defined(BUILD2_AUTOCONF_MACOS) || \ + BUILD2_AUTOCONF_GLIBC_PREREQ(2, 0) +# define HAVE_STRTOK_R 1 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRTOL.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRTOL.h new file mode 100644 index 0000000..81b357a --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRTOL.h @@ -0,0 +1,18 @@ +// HAVE_STRTOL : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_STRTOL + +/* Since 'ISO C90' (OpenBSD, FreeBSD, NetBSD, Mac OS X), + * glibc 1.90 + */ +#if defined(__FreeBSD__) || \ + defined(__OpenBSD__) || \ + defined(__NetBSD__) || \ + defined(BUILD2_AUTOCONF_MACOS) || \ + BUILD2_AUTOCONF_GLIBC_PREREQ(1, 90) +# define HAVE_STRTOL 1 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRTOLL.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRTOLL.h new file mode 100644 index 0000000..6b29b74 --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRTOLL.h @@ -0,0 +1,18 @@ +// HAVE_STRTOLL : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_STRTOLL + +/* Since 'ISO C99' (OpenBSD ~2.7, FreeBSD ~4.0, NetBSD ~1.5, Mac OS X ~10.0), + * glibc 1.90 + */ +#if BUILD2_AUTOCONF_OPENBSD_PREREQ(200015) || \ + BUILD2_AUTOCONF_FREEBSD_PREREQ(4, 0) || \ + BUILD2_AUTOCONF_NETBSD_PREREQ(1, 5) || \ + BUILD2_AUTOCONF_MACOS_PREREQ(10, 0) || \ + BUILD2_AUTOCONF_GLIBC_PREREQ(1, 90) +# define HAVE_STRTOLL 1 +#endif