[Python-checkins] python/dist/src configure, 1.427, 1.428 configure.in, 1.437, 1.438

anthonybaxter at users.sourceforge.net anthonybaxter at users.sourceforge.net
Sat Oct 4 03:46:25 EDT 2003


Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1:/tmp/cvs-serv19011

Modified Files:
	configure configure.in 
Log Message:
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.


Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.427
retrieving revision 1.428
diff -C2 -d -r1.427 -r1.428
*** configure	3 Oct 2003 13:47:32 -0000	1.427
--- configure	4 Oct 2003 07:46:20 -0000	1.428
***************
*** 1,4 ****
  #! /bin/sh
! # From configure.in Revision: 1.436 .
  # Guess values for system-dependent variables and create Makefiles.
  # Generated by GNU Autoconf 2.57 for python 2.4.
--- 1,4 ----
  #! /bin/sh
! # From configure.in Revision: 1.437 .
  # Guess values for system-dependent variables and create Makefiles.
  # Generated by GNU Autoconf 2.57 for python 2.4.
***************
*** 1452,1455 ****
--- 1452,1461 ----
    # 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

Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.437
retrieving revision 1.438
diff -C2 -d -r1.437 -r1.438
*** configure.in	3 Oct 2003 13:47:44 -0000	1.437
--- configure.in	4 Oct 2003 07:46:23 -0000	1.438
***************
*** 151,154 ****
--- 151,160 ----
    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
  





More information about the Python-checkins mailing list