[Python-checkins] python/dist/src configure,1.279.6.5,1.279.6.6 configure.in,1.288.6.5,1.288.6.6
loewis@users.sourceforge.net
loewis@users.sourceforge.net
Sun, 02 Jun 2002 10:34:50 -0700
- Previous message: [Python-checkins] python/dist/src/Lib/email _compat21.py,1.1,1.2 _compat22.py,1.1,1.2
- Next message: [Python-checkins] python/dist/src/Lib copy.py,1.25,1.26 filecmp.py,1.12,1.13 inspect.py,1.35,1.36 mailcap.py,1.11,1.12 profile.py,1.46,1.47 pstats.py,1.26,1.27 pyclbr.py,1.24,1.25 rlcompleter.py,1.11,1.12 symtable.py,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv4236
Modified Files:
Tag: release22-maint
configure configure.in
Log Message:
Run gcc with -w to work-around an autoconf 2.13 bug. Fixes #535545.
Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.279.6.5
retrieving revision 1.279.6.6
diff -C2 -d -r1.279.6.5 -r1.279.6.6
*** configure 18 Apr 2002 14:55:05 -0000 1.279.6.5
--- configure 2 Jun 2002 17:34:45 -0000 1.279.6.6
***************
*** 1,5 ****
#! /bin/sh
! # From configure.in Revision: 1.288.6.4
# Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
#! /bin/sh
! # From configure.in Revision: 1.288.6.5
[...4224 lines suppressed...]
if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7512 "configure"
#include "confdefs.h"
#include <sys/types.h>
***************
*** 7547,7551 ****
SRCDIRS="Parser Grammar Objects Python Modules"
echo $ac_n "checking for build directories""... $ac_c" 1>&6
! echo "configure:7550: checking for build directories" >&5
for dir in $SRCDIRS; do
if test ! -d $dir; then
--- 7565,7569 ----
SRCDIRS="Parser Grammar Objects Python Modules"
echo $ac_n "checking for build directories""... $ac_c" 1>&6
! echo "configure:7568: checking for build directories" >&5
for dir in $SRCDIRS; do
if test ! -d $dir; then
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.288.6.5
retrieving revision 1.288.6.6
diff -C2 -d -r1.288.6.5 -r1.288.6.6
*** configure.in 18 Apr 2002 14:55:08 -0000 1.288.6.5
--- configure.in 2 Jun 2002 17:34:47 -0000 1.288.6.6
***************
*** 521,524 ****
--- 521,536 ----
# checks for header files
AC_HEADER_STDC
+
+ # If the compiler generates any stderr on these tests, the header file
+ # is considered absent. On some systems, gcc will produce warnings for
+ # some of the headers (Redhat 6 if kernel headers don't match glibc
+ # headers). Thus, disable warnings. This can go away if autoconf 2.50
+ # is used, since it considers the gcc status to determine errors.
+ if test $GCC == yes
+ then
+ CPPFLAGS_save=$CPPFLAGS
+ CPPFLAGS="$CPPFLAGS -w"
+ fi
+
AC_CHECK_HEADERS(dlfcn.h fcntl.h grp.h limits.h langinfo.h locale.h \
ncurses.h poll.h pthread.h \
***************
*** 528,531 ****
--- 540,549 ----
sys/un.h sys/utsname.h sys/wait.h pty.h term.h libutil.h \
ndbm.h db1/ndbm.h gdbm/ndbm.h sys/resource.h netpacket/packet.h)
+
+ if test $GCC == yes
+ then
+ CPPFLAGS=$CPPFLAGS_save
+ fi
+
AC_HEADER_DIRENT
- Previous message: [Python-checkins] python/dist/src/Lib/email _compat21.py,1.1,1.2 _compat22.py,1.1,1.2
- Next message: [Python-checkins] python/dist/src/Lib copy.py,1.25,1.26 filecmp.py,1.12,1.13 inspect.py,1.35,1.36 mailcap.py,1.11,1.12 profile.py,1.46,1.47 pstats.py,1.26,1.27 pyclbr.py,1.24,1.25 rlcompleter.py,1.11,1.12 symtable.py,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]