Define _BSD_SOURCE, to get access to POSIX extensions on OpenBSD 4.1+.
This commit is contained in:
parent
b4d100cf2d
commit
858c80968a
|
@ -101,6 +101,8 @@ Documentation
|
||||||
Build
|
Build
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
- Define _BSD_SOURCE, to get access to POSIX extensions on OpenBSD 4.1+.
|
||||||
|
|
||||||
- Patch #1673122: Use an explicit path to libtool when building a framework.
|
- Patch #1673122: Use an explicit path to libtool when building a framework.
|
||||||
This avoids picking up GNU libtool from a users PATH.
|
This avoids picking up GNU libtool from a users PATH.
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# From configure.in Revision: 52844 .
|
# From configure.in Revision: 54284 .
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated by GNU Autoconf 2.59 for python 2.5.
|
# Generated by GNU Autoconf 2.59 for python 2.5.
|
||||||
#
|
#
|
||||||
|
@ -1388,6 +1388,14 @@ cat >>confdefs.h <<\_ACEOF
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
|
|
||||||
|
# OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
|
||||||
|
# also defined. This can be overridden by defining _BSD_SOURCE
|
||||||
|
|
||||||
|
cat >>confdefs.h <<\_ACEOF
|
||||||
|
#define _BSD_SOURCE 1
|
||||||
|
_ACEOF
|
||||||
|
|
||||||
|
|
||||||
# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
|
# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
|
||||||
# u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
|
# u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
|
||||||
|
|
||||||
|
|
|
@ -50,6 +50,10 @@ AC_DEFINE(_NETBSD_SOURCE, 1, [Define on NetBSD to activate all library features]
|
||||||
# them.
|
# them.
|
||||||
AC_DEFINE(__BSD_VISIBLE, 1, [Define on FreeBSD to activate all library features])
|
AC_DEFINE(__BSD_VISIBLE, 1, [Define on FreeBSD to activate all library features])
|
||||||
|
|
||||||
|
# OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
|
||||||
|
# also defined. This can be overridden by defining _BSD_SOURCE
|
||||||
|
AC_DEFINE(_BSD_SOURCE, 1, [Define on OpenBSD to activate all library features])
|
||||||
|
|
||||||
# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
|
# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
|
||||||
# u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
|
# u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
|
||||||
AC_DEFINE(_BSD_TYPES, 1, [Define on Irix to enable u_int])
|
AC_DEFINE(_BSD_TYPES, 1, [Define on Irix to enable u_int])
|
||||||
|
|
|
@ -909,6 +909,9 @@
|
||||||
# undef _ALL_SOURCE
|
# undef _ALL_SOURCE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Define on OpenBSD to activate all library features */
|
||||||
|
#undef _BSD_SOURCE
|
||||||
|
|
||||||
/* Define on Irix to enable u_int */
|
/* Define on Irix to enable u_int */
|
||||||
#undef _BSD_TYPES
|
#undef _BSD_TYPES
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue