[issue8747] Autoconf tests in python not portably correct

2019-02-25 Thread Enji Cooper


Enji Cooper  added the comment:

This issue has been superseded by other work.

--
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8747] Autoconf tests in python not portably correct

2014-09-28 Thread Mark Lawrence

Mark Lawrence added the comment:

>From msg112274 "if these platforms can't function with these preprocessor 
>defines, the platforms need to be fixed -- not python." so I believe this can 
>be closed.

--
nosy: +BreamoreBoy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8747] Autoconf tests in python not portably correct

2010-08-01 Thread Garrett Cooper

Garrett Cooper  added the comment:

The issue is still present.

The overall problem I suppose is with consistency and presentation of features 
in the python language.

Many features cannot be presented in a 100% portable manner, and the problem is 
that such features that aren't POSIX conforming should be 100% spelled out 
instead of being implied functional on all Unix based platforms.

So, again... if these platforms can't function with these preprocessor defines, 
the platforms need to be fixed -- not python.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8747] Autoconf tests in python not portably correct

2010-07-31 Thread Éric Araujo

Éric Araujo  added the comment:

doko, I made you nosy because of your autotools expertise. Hope it’s okay.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8747] Autoconf tests in python not portably correct

2010-07-31 Thread Éric Araujo

Éric Araujo  added the comment:

Garrett, does the bug still exist in 3.2 (branch named py3k in subversion)?

--
nosy: +doko, merwok
versions: +Python 3.2 -Python 2.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue8747] Autoconf tests in python not portably correct

2010-05-18 Thread Garrett Cooper

New submission from Garrett Cooper :

A number of features are being blindly enabled on python that aren't correct 
from a porting standpoint; a handful in configure.in I noticed are:

# The later defininition of _XOPEN_SOURCE disables certain features
# on Linux, so we need _GNU_SOURCE to re-enable them (makedev, tm_zone).
AC_DEFINE(_GNU_SOURCE, 1, [Define on Linux to activate all library features])

# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
# certain features on NetBSD, so we need _NETBSD_SOURCE to re-enable
# them.
AC_DEFINE(_NETBSD_SOURCE, 1, [Define on NetBSD to activate all library 
features])

# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
# certain features on FreeBSD, so we need __BSD_VISIBLE to re-enable
# them.
AC_DEFINE(__BSD_VISIBLE, 1, [Define on FreeBSD to activate all library 
features])

# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
# u_int on Irix 5.3. Defining _BSD_TYPES brings it back.
AC_DEFINE(_BSD_TYPES, 1, [Define on Irix to enable u_int])

# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
# certain features on Mac OS X, so we need _DARWIN_C_SOURCE to re-enable
# them.
AC_DEFINE(_DARWIN_C_SOURCE, 1, [Define on Darwin to activate all library 
features])

these are only applicable on certain platforms and thus, shouldn't be enabled 
on all platforms (the default should be off, and then the values should be 
tuned according to the platform detection performed by autoconf).

--
components: Build
messages: 105958
nosy: yaneurabeya
priority: normal
severity: normal
status: open
title: Autoconf tests in python not portably correct
type: compile error
versions: Python 2.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com