[issue8510] update to autoconf2.65

2010-05-11 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

Roumen:  good catch!  Indeed, nested functions aren't legal in standard C, and 
the test for -fno-strict-aliasing now fails on my OS X 10.6.3 machine, where it 
used to pass:

  checking whether gcc accepts -fno-strict-aliasing... no

config.log contains:

  configure:5400: checking whether gcc accepts -fno-strict-aliasing
  configure:5418: gcc -fno-strict-aliasing -c -g -O2  conftest.c 5
  conftest.c: In function 'main':
  conftest.c:27: error: nested functions are disabled, use -fnested-functions 
to re-enable
  configure:5418: $? = 1
  configure: failed program was:
  ...

Fixed these cases above and removed the extra '#include confdefs.h' lines 
(which seem harmless, but unnecessary) in r81077 (trunk).

--

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



[issue8510] update to autoconf2.65

2010-05-11 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

Merged to py3k, and fixed up an additional nested 'int main()', in r81078.

--

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



[issue8510] update to autoconf2.65

2010-05-11 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

BTW, it looks as though the nested functions were introduced in r76030;  
nothing to do with Matthias's autoconf 2.65 update.

--

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



[issue8510] update to autoconf2.65

2010-05-11 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

Just double checked that r80969 didn't introduce any other non-whitespace 
changes: apart from the now-fixed OS X 10.5 SDK issue), the only other 
non-whitespace change was:

@@ -7018,7 +7023,7 @@
 int
 main ()
 {
-long double x; x = (long double)0.;
+long double x; x = (long double)0;
   ;
   return 0;
 }

which looks harmless to me.

--

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



[issue8510] update to autoconf2.65

2010-05-11 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

Closing.  Roumen, please open a new issue for any other configure issues that 
aren't related to this autoconf update.

--
resolution:  - accepted
stage:  - committed/rejected
status: open - closed

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



[issue8510] update to autoconf2.65

2010-05-10 Thread Roumen Petrov

Roumen Petrov bugtr...@roumenpetrov.info added the comment:

I don't have access to source so my comment will be based only on diffs from 
above mentioned revisions.
r80969:
- AC_LANG_PROGRAM ... with main function in body . It is legal as I don't know 
C compiler that fail to compile code like ...int main() { int main() {...} ...} 
but is better to left body empty. Counted three times. All those cases tests 
for compiler flags and I think that AC_LANG_SOURCE is enough.

- body include  #include confdefs.h - may be buggy (before) and now 
AC_LANG_PROGRAM will add all defines. Counted any times. I think that is save 
to remove  #include confdefs.h from all those test cases.

--

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



[issue8510] update to autoconf2.65

2010-05-09 Thread Mark Dickinson

Mark Dickinson dicki...@gmail.com added the comment:

r81004: Remove extra closing bracket and comma introduced in r80969.  (This was 
causing misdetection of the OS X 10.5 SDK on Linux and OS X, and a 
test_platform failure on OS X.)

--
nosy: +mark.dickinson

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



[issue8510] update to autoconf2.65

2010-05-08 Thread Matthias Klose

Matthias Klose d...@debian.org added the comment:

the update to 2.65 on the py3k branch only did show whitespace changes, 
applying these changes to the trunk.

r80964: require autoconf-2.65

--

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



[issue8510] update to autoconf2.65

2010-05-08 Thread Matthias Klose

Matthias Klose d...@debian.org added the comment:

r80965: Replace AC_HELP_STRING with AS_HELP_STRING
r80966: s/AC_AIX/AC_USE_SYSTEM_EXTENSIONS/
r80969: convert all obsolete AC_TRY_* macros to AC_*_IFELSE
r80970: Avoid autoconf warning: Assume C89 semantics that RETSIGTYPE is always 
void

--

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



[issue8510] update to autoconf2.65

2010-04-29 Thread Matthias Klose

Matthias Klose d...@debian.org added the comment:

 You don't need to add source in case of 
   AC_COMPILE_IFELSE([AC_LANG_SOURCE([[]])] .. 
 when the the test is ..main() { return 0 ;} ...

is there a version of the cross configure patch for 3.x?

--

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



[issue8510] update to autoconf2.65

2010-04-28 Thread Roumen Petrov

Roumen Petrov bugtr...@roumenpetrov.info added the comment:

You don't need to add source in case of 
   AC_COMPILE_IFELSE([AC_LANG_SOURCE([[]])] .. 
when the the test is ..main() { return 0 ;} ...
, posted long time ago as part of issue3754 (   minimal cross-compilation 
support for configure ).
Also thanks for fixing extra comma in after replacement of AC_TRY_COMPILE .

This part is save to be added to 2.7 build.

--
nosy: +rpetrov

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



[issue8510] update to autoconf2.65

2010-04-25 Thread Matthias Klose

Matthias Klose d...@debian.org added the comment:

r80474: Replace AC_HELP_STRING with AS_HELP_STRING

--

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



[issue8510] update to autoconf2.65

2010-04-25 Thread Matthias Klose

Matthias Klose d...@debian.org added the comment:

r80475: s/AC_AIX/AC_USE_SYSTEM_EXTENSIONS/

--

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



[issue8510] update to autoconf2.65

2010-04-25 Thread Matthias Klose

Matthias Klose d...@debian.org added the comment:

r80478 converts all obsolete AC_TRY_* macros to AC_*_IFELSE, the outcome is ... 
nothing (but whitespace changes):

$ svn diff --diff-cmd diff -x -uEwB configure
Index: configure
===
--- configure   (Revision 80475)
+++ configure   (Arbeitskopie)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 80474 .
+# From configure.in Revision: 80475 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.65 for python 3.2.
 #

running configure with the old and the new version shows no diffs (besides 
config.log).

--

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



[issue8510] update to autoconf2.65

2010-04-25 Thread Matthias Klose

Matthias Klose d...@debian.org added the comment:

r80481: configure.in: Avoid autoconf warning: Assume C89 semantics that
RETSIGTYPE is always void (issue #8510).

Keep the definition, although the python code itself doesn't use it anymore.

--

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



[issue8510] update to autoconf2.65

2010-04-25 Thread Matthias Klose

Matthias Klose d...@debian.org added the comment:

r80483: Makefile.pre.in (autoconf): Call autoconf/autoheader with -Wall to help 
the configure script to stay warning free.

--

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



[issue8510] update to autoconf2.65

2010-04-24 Thread Matthias Klose

Matthias Klose d...@debian.org added the comment:

here is the diff for configure.in. The __EXTENSIONS__ macro is defined by 2.65 
for Solaris, removed this explicit definition. running a test build

--
Added file: http://bugs.python.org/file17070/configure.in.diff

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



[issue8510] update to autoconf2.65

2010-04-23 Thread Matthias Klose

New submission from Matthias Klose d...@debian.org:

update to autoconf2.65

--
components: Build
files: autoconf2.65.diff
keywords: needs review, patch
messages: 104018
nosy: doko
severity: normal
status: open
title: update to autoconf2.65
versions: Python 2.7, Python 3.2
Added file: http://bugs.python.org/file17055/autoconf2.65.diff

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



[issue8510] update to autoconf2.65

2010-04-23 Thread Matthias Klose

Matthias Klose d...@debian.org added the comment:

see http://mail.python.org/pipermail/python-dev/2010-April/099639.html

--

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



[issue8510] update to autoconf2.65

2010-04-23 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@haypocalc.com:


--
nosy: +haypo

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



[issue8510] update to autoconf2.65

2010-04-23 Thread Arfrever Frehtes Taifersar Arahesis

Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:


--
nosy: +Arfrever

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



[issue8510] update to autoconf2.65

2010-04-23 Thread Martin v . Löwis

Martin v. Löwis mar...@v.loewis.de added the comment:

I don't think Python 2.7 should upgrade to a newer autoconf version at this 
point. For 3.2, we could try it out.

--
nosy: +loewis

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