Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fd1c69e

Browse files
committed
Bump version number to 2.5.
Fix term.h check so that HAVE_TERM_H is actually generated.
1 parent 738131d commit fd1c69e

2 files changed

Lines changed: 32 additions & 21 deletions

File tree

configure

Lines changed: 30 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#! /bin/sh
2-
# From configure.in Revision: 1.474 .
2+
# From configure.in Revision: 1.475 .
33
# Guess values for system-dependent variables and create Makefiles.
4-
# Generated by GNU Autoconf 2.59 for python 2.4.
4+
# Generated by GNU Autoconf 2.59 for python 2.5.
55
#
66
# Copyright (C) 2003 Free Software Foundation, Inc.
77
# This configure script is free software; the Free Software Foundation
@@ -268,8 +268,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
268268
# Identity of this package.
269269
PACKAGE_NAME='python'
270270
PACKAGE_TARNAME='python'
271-
PACKAGE_VERSION='2.4'
272-
PACKAGE_STRING='python 2.4'
271+
PACKAGE_VERSION='2.5'
272+
PACKAGE_STRING='python 2.5'
273273
PACKAGE_BUGREPORT=''
274274

275275
ac_unique_file="Include/object.h"
@@ -779,7 +779,7 @@ if test "$ac_init_help" = "long"; then
779779
# Omit some internal or obsolete options to make the list less imposing.
780780
# This message is too long to be a string in the A/UX 3.1 sh.
781781
cat <<_ACEOF
782-
\`configure' configures python 2.4 to adapt to many kinds of systems.
782+
\`configure' configures python 2.5 to adapt to many kinds of systems.
783783

784784
Usage: $0 [OPTION]... [VAR=VALUE]...
785785

@@ -836,7 +836,7 @@ fi
836836

837837
if test -n "$ac_init_help"; then
838838
case $ac_init_help in
839-
short | recursive ) echo "Configuration of python 2.4:";;
839+
short | recursive ) echo "Configuration of python 2.5:";;
840840
esac
841841
cat <<\_ACEOF
842842

@@ -983,7 +983,7 @@ fi
983983
test -n "$ac_init_help" && exit 0
984984
if $ac_init_version; then
985985
cat <<\_ACEOF
986-
python configure 2.4
986+
python configure 2.5
987987
generated by GNU Autoconf 2.59
988988

989989
Copyright (C) 2003 Free Software Foundation, Inc.
@@ -997,7 +997,7 @@ cat >&5 <<_ACEOF
997997
This file contains any messages produced by compilers while
998998
running configure, to aid debugging if configure makes a mistake.
999999

1000-
It was created by python $as_me 2.4, which was
1000+
It was created by python $as_me 2.5, which was
10011001
generated by GNU Autoconf 2.59. Invocation command line was
10021002

10031003
$ $0 $@
@@ -1349,7 +1349,7 @@ rm confdefs.h
13491349
mv confdefs.h.new confdefs.h
13501350

13511351

1352-
VERSION=2.4
1352+
VERSION=2.5
13531353

13541354

13551355
SOVERSION=1.0
@@ -5382,9 +5382,13 @@ fi
53825382

53835383

53845384
# On Solaris, term.h requires curses.h
5385-
echo "$as_me:$LINENO: checking for term.h" >&5
5386-
echo $ECHO_N "checking for term.h... $ECHO_C" >&6
5387-
if test "${ac_cv_header_term_h+set}" = set; then
5385+
5386+
for ac_header in term.h
5387+
do
5388+
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5389+
echo "$as_me:$LINENO: checking for $ac_header" >&5
5390+
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5391+
if eval "test \"\${$as_ac_Header+set}\" = set"; then
53885392
echo $ECHO_N "(cached) $ECHO_C" >&6
53895393
else
53905394
cat >conftest.$ac_ext <<_ACEOF
@@ -5399,7 +5403,7 @@ cat >>conftest.$ac_ext <<_ACEOF
53995403
#endif
54005404

54015405

5402-
#include <term.h>
5406+
#include <$ac_header>
54035407
_ACEOF
54045408
rm -f conftest.$ac_objext
54055409
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
@@ -5423,18 +5427,25 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54235427
ac_status=$?
54245428
echo "$as_me:$LINENO: \$? = $ac_status" >&5
54255429
(exit $ac_status); }; }; then
5426-
ac_cv_header_term_h=yes
5430+
eval "$as_ac_Header=yes"
54275431
else
54285432
echo "$as_me: failed program was:" >&5
54295433
sed 's/^/| /' conftest.$ac_ext >&5
54305434

5431-
ac_cv_header_term_h=no
5435+
eval "$as_ac_Header=no"
54325436
fi
54335437
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54345438
fi
5435-
echo "$as_me:$LINENO: result: $ac_cv_header_term_h" >&5
5436-
echo "${ECHO_T}$ac_cv_header_term_h" >&6
5439+
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5440+
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5441+
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5442+
cat >>confdefs.h <<_ACEOF
5443+
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5444+
_ACEOF
5445+
5446+
fi
54375447

5448+
done
54385449

54395450

54405451
# checks for typedefs
@@ -20524,7 +20535,7 @@ _ASBOX
2052420535
} >&5
2052520536
cat >&5 <<_CSEOF
2052620537

20527-
This file was extended by python $as_me 2.4, which was
20538+
This file was extended by python $as_me 2.5, which was
2052820539
generated by GNU Autoconf 2.59. Invocation command line was
2052920540

2053020541
CONFIG_FILES = $CONFIG_FILES
@@ -20584,7 +20595,7 @@ _ACEOF
2058420595

2058520596
cat >>$CONFIG_STATUS <<_ACEOF
2058620597
ac_cs_version="\\
20587-
python config.status 2.4
20598+
python config.status 2.5
2058820599
configured by $0, generated by GNU Autoconf 2.59,
2058920600
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2059020601

configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
dnl Process this file with autoconf 2.0 or later to make a configure script.
22

33
# Set VERSION so we only need to edit in one place (i.e., here)
4-
m4_define(PYTHON_VERSION, 2.4)
4+
m4_define(PYTHON_VERSION, 2.5)
55

66
AC_REVISION($Revision$)
77
AC_PREREQ(2.53)
@@ -974,7 +974,7 @@ AC_HEADER_DIRENT
974974
AC_HEADER_MAJOR
975975

976976
# On Solaris, term.h requires curses.h
977-
AC_CHECK_HEADER(term.h,,,[
977+
AC_CHECK_HEADERS(term.h,,,[
978978
#ifdef HAVE_CURSES_H
979979
#include <curses.h>
980980
#endif

0 commit comments

Comments
 (0)