Add HAVE_SIGACTION, HAVE_STRSEP, HAVE_STRTOK, HAVE_STRTOK_R, HAVE_STRTOL, HAVE_STRTOLL (#30)
This commit is contained in:
parent
3a081e3697
commit
e2c881db6c
@ -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
|
18
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRSEP.h
Normal file
18
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRSEP.h
Normal file
@ -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
|
18
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRTOK.h
Normal file
18
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRTOK.h
Normal file
@ -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
|
18
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRTOK_R.h
Normal file
18
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRTOK_R.h
Normal file
@ -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
|
18
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRTOL.h
Normal file
18
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRTOL.h
Normal file
@ -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
|
18
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRTOLL.h
Normal file
18
libbuild2-autoconf/libbuild2/autoconf/checks/HAVE_STRTOLL.h
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user