[Python-checkins] CVS: python/dist/src configure.in,1.240,1.241 configure,1.231,1.232

Martin v. L?wis loewis@users.sourceforge.net
Thu, 09 Aug 2001 03:29:47 -0700


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

Modified Files:
	configure.in configure 
Log Message:
Patch #433537: Cache ac_cv_bad_static_forward.
Also move up AC_AIX and AC_MINIX further up.


Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.240
retrieving revision 1.241
diff -C2 -d -r1.240 -r1.241
*** configure.in	2001/08/08 13:56:14	1.240
--- configure.in	2001/08/09 10:29:44	1.241
***************
*** 172,175 ****
--- 172,180 ----
  
  AC_PROG_CC
+ 
+ # checks for UNIX variants that set C preprocessor variables
+ AC_AIX
+ AC_MINIX
+ 
  AC_EXEEXT
  AC_MSG_CHECKING(for --with-suffix)
***************
*** 350,356 ****
  	OPT="$OPT $ac_arch_flags"
  fi
- # checks for UNIX variants that set C preprocessor variables
- AC_AIX
- AC_MINIX
  
  AC_MSG_CHECKING(whether $CC accepts -OPT:Olimit=0)
--- 355,358 ----
***************
*** 1430,1436 ****
  	AC_MSG_RESULT(no))
  
- bad_forward=no
  AC_MSG_CHECKING(for bad static forward)
! AC_TRY_RUN([
  struct s { int a; int b; };
  static struct s foo;
--- 1432,1438 ----
  	AC_MSG_RESULT(no))
  
  AC_MSG_CHECKING(for bad static forward)
! AC_CACHE_VAL(ac_cv_bad_static_forward,
! [AC_TRY_RUN([
  struct s { int a; int b; };
  static struct s foo;
***************
*** 1443,1449 ****
  main() {
   exit(!((int)&foo == foobar()));
! }
! ], , AC_DEFINE(BAD_STATIC_FORWARD) bad_forward=yes)
! AC_MSG_RESULT($bad_forward)
  
  va_list_is_array=no
--- 1445,1454 ----
  main() {
   exit(!((int)&foo == foobar()));
! }], ac_cv_bad_static_forward=no, ac_cv_bad_static_forward=yes)])
! AC_MSG_RESULT($ac_cv_bad_static_forward)
! if test "$ac_cv_bad_static_forward" = yes
! then
!     AC_DEFINE(BAD_STATIC_FORWARD)
! fi
  
  va_list_is_array=no

Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.231
retrieving revision 1.232
diff -C2 -d -r1.231 -r1.232
*** configure	2001/08/08 13:56:14	1.231
--- configure	2001/08/09 10:29:44	1.232
***************
*** 1,5 ****
  #! /bin/sh
  
! # From configure.in Revision: 1.239 
  
  # Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
  #! /bin/sh
  
! # From configure.in Revision: 1.240 
  
[...4619 lines suppressed...]
  echo $ac_n "checking for build directories""... $ac_c" 1>&6
! echo "configure:7039: checking for build directories" >&5
  for dir in $SRCDIRS; do
      if test ! -d $dir; then
***************
*** 7176,7179 ****
--- 7185,7189 ----
  s%@MAINOBJ@%$MAINOBJ%g
  s%@CC@%$CC%g
+ s%@CPP@%$CPP%g
  s%@EXEEXT@%$EXEEXT%g
  s%@LIBRARY@%$LIBRARY%g
***************
*** 7188,7192 ****
  s%@LN@%$LN%g
  s%@OPT@%$OPT%g
- s%@CPP@%$CPP%g
  s%@LIBTOOL_CRUFT@%$LIBTOOL_CRUFT%g
  s%@SO@%$SO%g
--- 7198,7201 ----