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
6f2260ea
Kaydet (Commit)
6f2260ea
authored
Eyl 09, 1996
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed nextstep buglet; check for libreadline w/o libterm*
üst
2c349bbc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
14 deletions
+24
-14
configure.in
configure.in
+24
-14
No files found.
configure.in
Dosyayı görüntüle @
6f2260ea
...
...
@@ -99,7 +99,7 @@ then
esac
fi
if test
-z
"$ac_arch_flags"
if test "$ac_arch_flags"
then
OPT="$OPT $ac_arch_flags"
fi
...
...
@@ -242,20 +242,30 @@ AC_DEFINE(WITH_READLINE)
if test -d "$withval"
then LDFLAGS="$LDFLAGS -L$withval"
fi
termcap=
AC_CHECK_LIB(termcap, tgetent, [termcap=termcap], [
AC_CHECK_LIB(termlib, tgetent, [termcap=termlib], [
AC_ERROR(no working termcap/termlib -- do not use --with-readline)])])
AC_CHECK_LIB(readline, readline, [
# first check if we can compile without lib termcap
AC_MSG_CHECKING(for -lreadline without -ltermcap)
# check if a libreadline exists
LIBS="$LIBS -lreadline"
# Avoid possible conflict between shared libraries termcap and gl
# on IRIX 5: both contain a routine called clear.
if test -f /usr/lib/lib$termcap.a
then LIBS="$LIBS /usr/lib/lib$termcap.a"
else LIBS="$LIBS -l$termcap"
fi
], [AC_ERROR(no working GNU readline -- do not use --with-readline)],
-l$termcap)],
AC_TRY_LINK(extern char *readline();,char *line=readline();,[
AC_MSG_RESULT(yes)],[
AC_MSG_RESULT(no)
AC_CHECKING(for -lreadline that needs -ltermcap)
termcap=
AC_CHECK_LIB(termcap, tgetent, [termcap=termcap], [
AC_CHECK_LIB(termlib, tgetent, [termcap=termlib], [
AC_ERROR(no working -ltermcap/termlib found -- do not use --with-readline)])])
# Avoid possible conflict between shared libraries termcap and gl
# on IRIX 5: both contain a routine called clear.
if test -f /usr/lib/lib$termcap.a
then LIBS="$LIBS /usr/lib/lib$termcap.a"
else LIBS="$LIBS -l$termcap"
fi
AC_MSG_CHECKING(for -lreadline)
AC_TRY_LINK(extern char *readline();, char *line=readline();,[
AC_MSG_RESULT(yes)],[
AC_ERROR(no working GNU readline library found -- do not use --with-readline)])
])
],
AC_MSG_RESULT(no))
AC_MSG_CHECKING(for --with-thread)
...
...
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