Add HAVE_GETENV, HAVE_SETENV, HAVE_UNSETENV, HAVE_PUTENV, HAVE_GETRLIMIT, HAVE_SETRLIMIT, HAVE_SETFD (GH PR #28)
This commit is contained in:
parent
98ca18573e
commit
dbeacaffd4
18
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_GETENV.h
Normal file
18
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_GETENV.h
Normal file
@ -0,0 +1,18 @@
|
||||
// HAVE_GETENV : BUILD2_AUTOCONF_LIBC_VERSION
|
||||
|
||||
#ifndef BUILD2_AUTOCONF_LIBC_VERSION
|
||||
# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included
|
||||
#endif
|
||||
|
||||
#undef HAVE_GETENV
|
||||
|
||||
/* Since Version 7 AT&T UNIX, 4.3BSD-Tahoe (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_GETENV 1
|
||||
#endif
|
@ -0,0 +1,18 @@
|
||||
// HAVE_GETRLIMIT : BUILD2_AUTOCONF_LIBC_VERSION
|
||||
|
||||
#ifndef BUILD2_AUTOCONF_LIBC_VERSION
|
||||
# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included
|
||||
#endif
|
||||
|
||||
#undef HAVE_GETRLIMIT
|
||||
|
||||
/* Since 4.2BSD (Linux, 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_GETRLIMIT 1
|
||||
#endif
|
18
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_PUTENV.h
Normal file
18
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_PUTENV.h
Normal file
@ -0,0 +1,18 @@
|
||||
// HAVE_PUTENV : BUILD2_AUTOCONF_LIBC_VERSION
|
||||
|
||||
#ifndef BUILD2_AUTOCONF_LIBC_VERSION
|
||||
# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included
|
||||
#endif
|
||||
|
||||
#undef HAVE_PUTENV
|
||||
|
||||
/* Since AT&T System V Release 2 UNIX, 4.3BSD-Reno (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_PUTENV 1
|
||||
#endif
|
18
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_SETENV.h
Normal file
18
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_SETENV.h
Normal file
@ -0,0 +1,18 @@
|
||||
// HAVE_SETENV : BUILD2_AUTOCONF_LIBC_VERSION
|
||||
|
||||
#ifndef BUILD2_AUTOCONF_LIBC_VERSION
|
||||
# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included
|
||||
#endif
|
||||
|
||||
#undef HAVE_SETENV
|
||||
|
||||
/* Since Version 7 AT&T UNIX, 4.3BSD-Tahoe (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_SETENV 1
|
||||
#endif
|
19
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_SETFD.h
Normal file
19
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_SETFD.h
Normal file
@ -0,0 +1,19 @@
|
||||
// HAVE_SETFD : BUILD2_AUTOCONF_LIBC_VERSION
|
||||
|
||||
#ifndef BUILD2_AUTOCONF_LIBC_VERSION
|
||||
# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included
|
||||
#endif
|
||||
|
||||
#undef HAVE_SETFD
|
||||
|
||||
/* Since SVr4, 4.3BSD, POSIX.1-2001 (only Linux mentioned but assume all
|
||||
* because it's old & standardized),
|
||||
* glibc 1.90
|
||||
*/
|
||||
#if defined(__FreeBSD__) || \
|
||||
defined(__OpenBSD__) || \
|
||||
defined(__NetBSD__) || \
|
||||
defined(BUILD2_AUTOCONF_MACOS) || \
|
||||
BUILD2_AUTOCONF_GLIBC_PREREQ(1, 90)
|
||||
# define HAVE_SETFD 1
|
||||
#endif
|
@ -0,0 +1,18 @@
|
||||
// HAVE_SETRLIMIT : BUILD2_AUTOCONF_LIBC_VERSION
|
||||
|
||||
#ifndef BUILD2_AUTOCONF_LIBC_VERSION
|
||||
# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included
|
||||
#endif
|
||||
|
||||
#undef HAVE_SETRLIMIT
|
||||
|
||||
/* Since 4.2BSD (Linux, 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_SETRLIMIT 1
|
||||
#endif
|
18
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_UNSETENV.h
Normal file
18
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_UNSETENV.h
Normal file
@ -0,0 +1,18 @@
|
||||
// HAVE_UNSETENV : BUILD2_AUTOCONF_LIBC_VERSION
|
||||
|
||||
#ifndef BUILD2_AUTOCONF_LIBC_VERSION
|
||||
# error BUILD2_AUTOCONF_LIBC_VERSION appears to be conditionally included
|
||||
#endif
|
||||
|
||||
#undef HAVE_UNSETENV
|
||||
|
||||
/* Since Version 7 AT&T UNIX, 4.3BSD-Tahoe (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_UNSETENV 1
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user