|
Line 0
Link Here
|
|
|
1 |
--- configure.orig 2014-09-06 14:42:50 UTC |
| 2 |
+++ configure |
| 3 |
@@ -2919,13 +2919,6 @@ |
| 4 |
|
| 5 |
|
| 6 |
# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables |
| 7 |
-# certain features on FreeBSD, so we need __BSD_VISIBLE to re-enable |
| 8 |
-# them. |
| 9 |
- |
| 10 |
-$as_echo "#define __BSD_VISIBLE 1" >>confdefs.h |
| 11 |
- |
| 12 |
- |
| 13 |
-# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables |
| 14 |
# u_int on Irix 5.3. Defining _BSD_TYPES brings it back. |
| 15 |
|
| 16 |
$as_echo "#define _BSD_TYPES 1" >>confdefs.h |
| 17 |
@@ -3293,9 +3286,8 @@ |
| 18 |
# but used in struct sockaddr.sa_family. Reported by Tim Rice. |
| 19 |
SCO_SV/3.2) |
| 20 |
define_xopen_source=no;; |
| 21 |
- # On FreeBSD 4, the math functions C89 does not cover are never defined |
| 22 |
- # with _XOPEN_SOURCE and __BSD_VISIBLE does not re-enable them. |
| 23 |
- FreeBSD/4.*) |
| 24 |
+ # On FreeBSD, defining _XOPEN_SOURCE to 600 requests a strict environment. |
| 25 |
+ FreeBSD/*) |
| 26 |
define_xopen_source=no;; |
| 27 |
# On MacOS X 10.2, a bug in ncurses.h means that it craps out if |
| 28 |
# _XOPEN_EXTENDED_SOURCE is defined. Apparently, this is fixed in 10.3, which |
| 29 |
--- configure.ac.orig 2014-09-06 14:42:50 UTC |
| 30 |
+++ configure.ac |
| 31 |
@@ -88,11 +88,6 @@ |
| 32 |
AC_DEFINE(_NETBSD_SOURCE, 1, [Define on NetBSD to activate all library features]) |
| 33 |
|
| 34 |
# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables |
| 35 |
-# certain features on FreeBSD, so we need __BSD_VISIBLE to re-enable |
| 36 |
-# them. |
| 37 |
-AC_DEFINE(__BSD_VISIBLE, 1, [Define on FreeBSD to activate all library features]) |
| 38 |
- |
| 39 |
-# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables |
| 40 |
# u_int on Irix 5.3. Defining _BSD_TYPES brings it back. |
| 41 |
AC_DEFINE(_BSD_TYPES, 1, [Define on Irix to enable u_int]) |
| 42 |
|
| 43 |
@@ -426,9 +421,8 @@ |
| 44 |
# but used in struct sockaddr.sa_family. Reported by Tim Rice. |
| 45 |
SCO_SV/3.2) |
| 46 |
define_xopen_source=no;; |
| 47 |
- # On FreeBSD 4, the math functions C89 does not cover are never defined |
| 48 |
- # with _XOPEN_SOURCE and __BSD_VISIBLE does not re-enable them. |
| 49 |
- FreeBSD/4.*) |
| 50 |
+ # On FreeBSD, defining _XOPEN_SOURCE to 600 requests a strict environment. |
| 51 |
+ FreeBSD/*) |
| 52 |
define_xopen_source=no;; |
| 53 |
# On MacOS X 10.2, a bug in ncurses.h means that it craps out if |
| 54 |
# _XOPEN_EXTENDED_SOURCE is defined. Apparently, this is fixed in 10.3, which |