diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_PORT_CREATE.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_PORT_CREATE.h new file mode 100644 index 0000000..69ac242 --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_PORT_CREATE.h @@ -0,0 +1,14 @@ +// HAVE_PORT_CREATE : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_PORT_CREATE + +/* Since Solaris version ... (?). No version details in manual. + */ +#if (defined(__sun) && defined(__SVR4)) || \ + defined(__sun__) +# define HAVE_PORT_CREATE 1 +#endif diff --git a/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_PORT_H.h b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_PORT_H.h new file mode 100644 index 0000000..1e5eb79 --- /dev/null +++ b/libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_PORT_H.h @@ -0,0 +1,14 @@ +// HAVE_PORT_H : BUILD2_AUTOCONF_LIBC_VERSION + +#ifndef BUILD2_AUTOCONF_LIBC_VERSION +# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included +#endif + +#undef HAVE_PORT_H + +/* Since Solaris version ... (?). No version details in manual. + */ +#if (defined(__sun) && defined(__SVR4)) || \ + defined(__sun__) +# define HAVE_PORT_H 1 +#endif