[Python-checkins] CVS: python/dist/src configure,1.278,1.279 configure.in,1.287,1.288

Michael Hudson mwh@users.sourceforge.net
Fri, 07 Dec 2001 07:38:31 -0800


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

Modified Files:
	configure configure.in 
Log Message:
Fix for:

    [ #417634 ] configuring without C++ compiler name

by checking that we're not about to try to compile C++ files with "yes".

Now we wait for the system where the C++ compiler *is* called yes...



Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.278
retrieving revision 1.279
diff -C2 -d -r1.278 -r1.279
*** configure	2001/12/06 22:36:16	1.278
--- configure	2001/12/07 15:38:25	1.279
***************
*** 1,155 ****
  #! /bin/sh
! # From configure.in Revision: 1.286 .
  # Guess values for system-dependent variables and create Makefiles.
! # Generated by Autoconf 2.52.
  #
- # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
- # Free Software Foundation, Inc.
  # This configure script is free software; the Free Software Foundation
  # gives unlimited permission to copy, distribute and modify it.
- 
[...19621 lines suppressed...]
      fi
!     rm -f $ac_file
!     mv conftest.h $ac_file
    fi
! fi; done
! 
  EOF
+ cat >> $CONFIG_STATUS <<EOF
  
! EOF
! cat >> $CONFIG_STATUS <<\EOF
  
! exit 0
  EOF
  chmod +x $CONFIG_STATUS
! rm -fr confdefs* $ac_clean_files
! test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
  
  
  echo "creating Setup"

Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.287
retrieving revision 1.288
diff -C2 -d -r1.287 -r1.288
*** configure.in	2001/12/06 22:36:17	1.287
--- configure.in	2001/12/07 15:38:26	1.288
***************
*** 152,155 ****
--- 152,160 ----
  AC_MSG_RESULT($with_cxx)
  
+ if test "$with_cxx" = "yes"
+ then
+ 	AC_ERROR(must supply a compiler when using --with-cxx)
+ fi
+ 
  dnl The following fragment works similar to AC_PROG_CXX.
  dnl It does not fail if CXX is not found, and it is not executed if