diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_LLRINT.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_LLRINT.h new file mode 100644 index 0000000..b3709be --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_LLRINT.h @@ -0,0 +1,18 @@ +// HAVE_LLRINT : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_LLRINT + +/* Since glibc 2.1, FreeBSD 5.4, OpenBSD 3.9, NetBSD 3.1 and MacOS, Win32. + */ +#if BUILD2_AUTOCONF_GLIBC_PREREQ(2, 1) || \ + BUILD2_AUTOCONF_FREEBSD_PREREQ(5, 4) || \ + BUILD2_AUTOCONF_OPENBSD_PREREQ(200601) || \ + BUILD2_AUTOCONF_NETBSD_PREREQ(3, 1) || \ + defined(BUILD2_AUTOCONF_MACOS) || \ + defined(_WIN32) +# define HAVE_LLRINT 1 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_LLRINTF.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_LLRINTF.h new file mode 100644 index 0000000..d943f29 --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_LLRINTF.h @@ -0,0 +1,18 @@ +// HAVE_LLRINTF : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_LLRINTF + +/* Since glibc 2.1, FreeBSD 5.4, OpenBSD 3.9, NetBSD 3.1 and MacOS, Win32. + */ +#if BUILD2_AUTOCONF_GLIBC_PREREQ(2, 1) || \ + BUILD2_AUTOCONF_FREEBSD_PREREQ(5, 4) || \ + BUILD2_AUTOCONF_OPENBSD_PREREQ(200601) || \ + BUILD2_AUTOCONF_NETBSD_PREREQ(3, 1) || \ + defined(BUILD2_AUTOCONF_MACOS) || \ + defined(_WIN32) +# define HAVE_LLRINTF 1 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_LRINT.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_LRINT.h new file mode 100644 index 0000000..604585a --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_LRINT.h @@ -0,0 +1,18 @@ +// HAVE_LRINT : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_LRINT + +/* Since glibc 2.1, FreeBSD 5.4, OpenBSD 3.9, NetBSD 3.1 and MacOS, Win32. + */ +#if BUILD2_AUTOCONF_GLIBC_PREREQ(2, 1) || \ + BUILD2_AUTOCONF_FREEBSD_PREREQ(5, 4) || \ + BUILD2_AUTOCONF_OPENBSD_PREREQ(200601) || \ + BUILD2_AUTOCONF_NETBSD_PREREQ(3, 1) || \ + defined(BUILD2_AUTOCONF_MACOS) || \ + defined(_WIN32) +# define HAVE_LRINT 1 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_LRINTF.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_LRINTF.h new file mode 100644 index 0000000..be4bded --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_LRINTF.h @@ -0,0 +1,18 @@ +// HAVE_LRINTF : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_LRINTF + +/* Since glibc 2.1, FreeBSD 5.4, OpenBSD 3.9, NetBSD 3.1 and MacOS, Win32. + */ +#if BUILD2_AUTOCONF_GLIBC_PREREQ(2, 1) || \ + BUILD2_AUTOCONF_FREEBSD_PREREQ(5, 4) || \ + BUILD2_AUTOCONF_OPENBSD_PREREQ(200601) || \ + BUILD2_AUTOCONF_NETBSD_PREREQ(3, 1) || \ + defined(BUILD2_AUTOCONF_MACOS) || \ + defined(_WIN32) +# define HAVE_LRINTF 1 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_LSTAT.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_LSTAT.h new file mode 100644 index 0000000..9d8a2a6 --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_LSTAT.h @@ -0,0 +1,13 @@ +// HAVE_LSTAT : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_LSTAT + +/* Since glibc 2.19. + */ +#if BUILD2_AUTOCONF_GLIBC_PREREQ(2, 19) +# define HAVE_LSTAT 1 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_MMX.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_MMX.h new file mode 100644 index 0000000..9ad6359 --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_MMX.h @@ -0,0 +1,11 @@ +// HAVE_MMX + +#undef HAVE_MMX + +/* Assumed to be available on anything x86 or x86_64. + */ +#if defined(_M_X64) || defined(__amd64__) || defined(i386) +# define HAVE_MMX 1 +#else +# define HAVE_MMX 0 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_MMXEXT.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_MMXEXT.h new file mode 100644 index 0000000..e1a5822 --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_MMXEXT.h @@ -0,0 +1,11 @@ +// HAVE_MMXEXT + +#undef HAVE_MMXEXT + +/* Assumed to be available on anything x86 or x86_64. + */ +#if defined(_M_X64) || defined(__amd64__) || defined(i386) +# define HAVE_MMXEXT 1 +#else +# define HAVE_MMXEXT 0 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_RINT.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_RINT.h new file mode 100644 index 0000000..b60d1c2 --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_RINT.h @@ -0,0 +1,18 @@ +// HAVE_RINT : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_RINT + +/* Since glibc 2.19, FreeBSD 1.0, OpenBSD 2.2, NetBSD 1.3 and MacOS, Win32. + */ +#if BUILD2_AUTOCONF_GLIBC_PREREQ(2, 19) || \ + BUILD2_AUTOCONF_FREEBSD_PREREQ(1, 0) || \ + BUILD2_AUTOCONF_OPENBSD_PREREQ(199712) || \ + BUILD2_AUTOCONF_NETBSD_PREREQ(1, 3) || \ + defined(BUILD2_AUTOCONF_MACOS) || \ + defined(_WIN32) +# define HAVE_RINT 1 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_TRUNC.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_TRUNC.h new file mode 100644 index 0000000..d5e1ce6 --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_TRUNC.h @@ -0,0 +1,18 @@ +// HAVE_TRUNC : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_TRUNC + +/* Since glibc 2.1, FreeBSD 5.3, OpenBSD 4.0, NetBSD 4.0 and MacOS, Win32. + */ +#if BUILD2_AUTOCONF_GLIBC_PREREQ(2, 1) || \ + BUILD2_AUTOCONF_FREEBSD_PREREQ(5, 3) || \ + BUILD2_AUTOCONF_OPENBSD_PREREQ(200611) || \ + BUILD2_AUTOCONF_NETBSD_PREREQ(4, 0) || \ + defined(BUILD2_AUTOCONF_MACOS) || \ + defined(_WIN32) +# define HAVE_TRUNC 1 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_TRUNCF.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_TRUNCF.h new file mode 100644 index 0000000..604967a --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_TRUNCF.h @@ -0,0 +1,18 @@ +// HAVE_TRUNCF : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_TRUNCF + +/* Since glibc 2.1, FreeBSD 5.3, OpenBSD 4.0, NetBSD 4.0 and MacOS, Win32. + */ +#if BUILD2_AUTOCONF_GLIBC_PREREQ(2, 1) || \ + BUILD2_AUTOCONF_FREEBSD_PREREQ(5, 3) || \ + BUILD2_AUTOCONF_OPENBSD_PREREQ(200611) || \ + BUILD2_AUTOCONF_NETBSD_PREREQ(4, 0) || \ + defined(BUILD2_AUTOCONF_MACOS) || \ + defined(_WIN32) +# define HAVE_TRUNCF 1 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_WINRT.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_WINRT.h new file mode 100644 index 0000000..aba7c6f --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_WINRT.h @@ -0,0 +1,7 @@ +// HAVE_WINRT + +#undef HAVE_WINRT + +#if defined(_WINRT_DLL_) +# define HAVE_WINRT 1 +#endif