summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorAnthony Baxter <anthonybaxter@gmail.com>2003-10-04 07:46:23 (GMT)
committerAnthony Baxter <anthonybaxter@gmail.com>2003-10-04 07:46:23 (GMT)
commit6169c6bc1d27441f95fbab71ea504c8c01cc0fa9 (patch)
tree2aae74d5bd889d364862a7161506a544d2bd6524 /configure.in
parentb8c787606cfd5bbef2e826ee854f424483e814e2 (diff)
downloadcpython-6169c6bc1d27441f95fbab71ea504c8c01cc0fa9.zip
cpython-6169c6bc1d27441f95fbab71ea504c8c01cc0fa9.tar.gz
cpython-6169c6bc1d27441f95fbab71ea504c8c01cc0fa9.tar.bz2
FreeBSD 4.8 and MacOS X 10.2 have a broken ncurses.h - if you don't
define _XOPEN_EXTENDED_SOURCE, the bug isn't triggered. Testing on FreeBSD shows that nothing is broken by this change.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 532b29b..5a4a22c 100644
--- a/configure.in
+++ b/configure.in
@@ -150,6 +150,12 @@ case $ac_sys_system/$ac_sys_release in
# but used in struct sockaddr.sa_family. Reported by Tim Rice.
SCO_SV/3.2)
define_xopen_source=no;;
+ # On FreeBSD 4.8 and MacOS X 10.2, a bug in ncurses.h means that
+ # it craps out if _XOPEN_EXTENDED_SOURCE is defined. Apparently,
+ # this is fixed in 10.3, which identifies itself as Darwin/7.*
+ # This should hopefully be fixed in FreeBSD 4.9
+ FreeBSD/4.8* | Darwin/6* )
+ define_xopen_source=no;;
esac
if test $define_xopen_source = yes