[Python-checkins] python/dist/src configure,1.308,1.309 configure.in,1.318,1.319

loewis@users.sourceforge.net loewis@users.sourceforge.net
Sat, 01 Jun 2002 14:40:00 -0700


Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv13293a

Modified Files:
	configure configure.in 
Log Message:
Use somewhat longer C++ program to detect whether linking requires the C++
compiler. Fixes #559429. 2.2 bugfix candidate.


Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.308
retrieving revision 1.309
diff -C2 -d -r1.308 -r1.309
*** configure	27 May 2002 15:08:21 -0000	1.308
--- configure	1 Jun 2002 21:39:58 -0000	1.309
***************
*** 1,4 ****
  #! /bin/sh
! # From configure.in Revision: 1.317 .
  # Guess values for system-dependent variables and create Makefiles.
  # Generated by GNU Autoconf 2.53.
--- 1,4 ----
  #! /bin/sh
! # From configure.in Revision: 1.318 .
  # Guess values for system-dependent variables and create Makefiles.
  # Generated by GNU Autoconf 2.53.
***************
*** 3038,3042 ****
                LINKCC="\$(PURIFY) \$(CC)"
          else
!               echo 'int main(){return 0;}' > conftest.$ac_ext
                $CXX -c conftest.$ac_ext 2>&5
                if $CC -o conftest$ac_exeext conftest.$ac_objext 2>&5 \
--- 3038,3042 ----
                LINKCC="\$(PURIFY) \$(CC)"
          else
!               echo 'void foo();int main(){foo();}void foo(){}' > conftest.$ac_ext
                $CXX -c conftest.$ac_ext 2>&5
                if $CC -o conftest$ac_exeext conftest.$ac_objext 2>&5 \

Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.318
retrieving revision 1.319
diff -C2 -d -r1.318 -r1.319
*** configure.in	27 May 2002 15:08:21 -0000	1.318
--- configure.in	1 Jun 2002 21:39:58 -0000	1.319
***************
*** 310,314 ****
                LINKCC="\$(PURIFY) \$(CC)"
          else
!               echo 'int main(){return 0;}' > conftest.$ac_ext
                $CXX -c conftest.$ac_ext 2>&5
                if $CC -o conftest$ac_exeext conftest.$ac_objext 2>&5 \
--- 310,314 ----
                LINKCC="\$(PURIFY) \$(CC)"
          else
!               echo 'void foo();int main(){foo();}void foo(){}' > conftest.$ac_ext
                $CXX -c conftest.$ac_ext 2>&5
                if $CC -o conftest$ac_exeext conftest.$ac_objext 2>&5 \