Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
5d52e781
Kaydet (Commit)
5d52e781
authored
Eyl 18, 2004
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make curses.h inclusion conditional as in the original patch #1012280.
Backported to 2.3.
üst
ae2830c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
21 deletions
+18
-21
configure
configure
+13
-20
configure.in
configure.in
+5
-1
No files found.
configure
Dosyayı görüntüle @
5d52e781
#! /bin/sh
#! /bin/sh
# From configure.in Revision: 1.4
69
.
# From configure.in Revision: 1.4
70
.
# Guess values for system-dependent variables and create Makefiles.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.4.
# Generated by GNU Autoconf 2.59 for python 2.4.
#
#
...
@@ -5375,13 +5375,9 @@ fi
...
@@ -5375,13 +5375,9 @@ fi
# On Solaris, term.h requires curses.h
# On Solaris, term.h requires curses.h
echo "$as_me:$LINENO: checking for term.h" >&5
for ac_header in term.h
echo $ECHO_N "checking for term.h... $ECHO_C" >&6
do
if test "${ac_cv_header_term_h+set}" = set; then
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_header" >&5
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
if eval "test \"\${$as_ac_Header+set}\" = set"; then
echo $ECHO_N "(cached) $ECHO_C" >&6
echo $ECHO_N "(cached) $ECHO_C" >&6
else
else
cat >conftest.$ac_ext <<_ACEOF
cat >conftest.$ac_ext <<_ACEOF
...
@@ -5390,9 +5386,13 @@ _ACEOF
...
@@ -5390,9 +5386,13 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
/* end confdefs.h. */
#ifdef HAVE_CURSES_H
#include <curses.h>
#include <curses.h>
#endif
#include <$ac_header>
#include <term.h>
_ACEOF
_ACEOF
rm -f conftest.$ac_objext
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
...
@@ -5416,25 +5416,18 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
...
@@ -5416,25 +5416,18 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
ac_status=$?
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
(exit $ac_status); }; }; then
eval "$as_ac_Header=yes"
ac_cv_header_term_h=yes
else
else
echo "$as_me: failed program was:" >&5
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
sed 's/^/| /' conftest.$ac_ext >&5
eval "$as_ac_Header=no"
ac_cv_header_term_h=no
fi
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
fi
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
echo "$as_me:$LINENO: result: $ac_cv_header_term_h" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
echo "${ECHO_T}$ac_cv_header_term_h" >&6
if test `eval echo '${'$as_ac_Header'}'` = yes; then
cat >>confdefs.h <<_ACEOF
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
_ACEOF
fi
done
# checks for typedefs
# checks for typedefs
...
...
configure.in
Dosyayı görüntüle @
5d52e781
...
@@ -968,7 +968,11 @@ AC_HEADER_DIRENT
...
@@ -968,7 +968,11 @@ AC_HEADER_DIRENT
AC_HEADER_MAJOR
AC_HEADER_MAJOR
# On Solaris, term.h requires curses.h
# On Solaris, term.h requires curses.h
AC_CHECK_HEADERS(term.h,,,[#include <curses.h>])
AC_CHECK_HEADER(term.h,,,[
#ifdef HAVE_CURSES_H
#include <curses.h>
#endif
])
# checks for typedefs
# checks for typedefs
was_it_defined=no
was_it_defined=no
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment