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
2d7e2647
Kaydet (Commit)
2d7e2647
authored
Nis 05, 2002
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Eliminate use of LIBOBJS which is an error in autoconf 2.53.
üst
4179a01b
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
24 deletions
+18
-24
Makefile.pre.in
Makefile.pre.in
+2
-2
configure
configure
+0
-0
configure.in
configure.in
+16
-22
No files found.
Makefile.pre.in
Dosyayı görüntüle @
2d7e2647
...
...
@@ -148,7 +148,7 @@ LIBC= @LIBC@
SYSLIBS
=
$(LIBM)
$(LIBC)
MAINOBJ
=
@MAINOBJ@
LIBOBJS
=
@LIBOBJS
@
THREADOBJ
=
@THREADOBJ
@
DLINCLDIR
=
@DLINCLDIR@
DYNLOADFILE
=
@DYNLOADFILE@
MACHDEP_OBJS
=
@MACHDEP_OBJS@
...
...
@@ -242,7 +242,7 @@ PYTHON_OBJS= \
Python/getopt.o
\
Python/
$(DYNLOADFILE)
\
$(MACHDEP_OBJS)
\
$(
LIBOBJS
)
$(
THREADOBJ
)
##########################################################################
...
...
configure
Dosyayı görüntüle @
2d7e2647
This diff is collapsed.
Click to expand it.
configure.in
Dosyayı görüntüle @
2d7e2647
...
...
@@ -1050,6 +1050,7 @@ then with_threads="yes"
fi
AC_MSG_RESULT($with_threads)
AC_SUBST(THREADOBJ)
if test "$with_threads" = "no"
then
USE_THREAD_MODULE="#"
...
...
@@ -1059,13 +1060,13 @@ then
# Defining _REENTRANT on system with POSIX threads should not hurt.
AC_DEFINE(_REENTRANT)
posix_threads=yes
LIBOBJS="$LIBOBJS
thread.o"
THREADOBJ="Python/
thread.o"
elif test "$ac_cv_kpthread" = "yes"
then
CC="$CC -Kpthread"
AC_DEFINE(WITH_THREAD)
posix_threads=yes
LIBOBJS="$LIBOBJS
thread.o"
THREADOBJ="Python/
thread.o"
else
if test ! -z "$with_threads" -a -d "$with_threads"
then LDFLAGS="$LDFLAGS -L$with_threads"
...
...
@@ -1090,11 +1091,11 @@ else
AC_DEFINE(C_THREADS)
AC_DEFINE(HURD_C_THREADS)
LIBS="$LIBS -lthreads"
LIBOBJS="$LIBOBJS
thread.o"],[
THREADOBJ="Python/
thread.o"],[
AC_CHECK_HEADER(mach/cthreads.h, [AC_DEFINE(WITH_THREAD)
AC_DEFINE(C_THREADS)
AC_DEFINE(MACH_C_THREADS)
LIBOBJS="$LIBOBJS
thread.o"],[
THREADOBJ="Python/
thread.o"],[
AC_MSG_CHECKING(for --with-pth)
AC_ARG_WITH(pth,
[ --with-pth use GNU pth threading libraries], [
...
...
@@ -1102,7 +1103,7 @@ else
AC_DEFINE(WITH_THREAD)
AC_DEFINE(HAVE_PTH)
LIBS="-lpth $LIBS"
LIBOBJS="$LIBOBJS
thread.o"],[
THREADOBJ="Python/
thread.o"],[
AC_MSG_RESULT(no)
# Just looking for pthread_create in libpthread is not enough:
...
...
@@ -1118,34 +1119,34 @@ pthread_create (NULL, NULL, start_routine, NULL)], [
AC_MSG_RESULT(yes)
AC_DEFINE(WITH_THREAD)
posix_threads=yes
LIBOBJS="$LIBOBJS
thread.o"],[
THREADOBJ="Python/
thread.o"],[
LIBS=$_libs
AC_CHECK_FUNC(pthread_detach, [AC_DEFINE(WITH_THREAD)
posix_threads=yes
LIBOBJS="$LIBOBJS
thread.o"],[
THREADOBJ="Python/
thread.o"],[
AC_CHECK_HEADER(kernel/OS.h, [AC_DEFINE(WITH_THREAD)
AC_DEFINE(BEOS_THREADS)
LIBOBJS="$LIBOBJS
thread.o"],[
THREADOBJ="Python/
thread.o"],[
AC_CHECK_LIB(pthreads, pthread_create, [AC_DEFINE(WITH_THREAD)
posix_threads=yes
LIBS="$LIBS -lpthreads"
LIBOBJS="$LIBOBJS
thread.o"], [
THREADOBJ="Python/
thread.o"], [
AC_CHECK_LIB(c_r, pthread_create, [AC_DEFINE(WITH_THREAD)
posix_threads=yes
LIBS="$LIBS -lc_r"
LIBOBJS="$LIBOBJS
thread.o"], [
THREADOBJ="Python/
thread.o"], [
AC_CHECK_LIB(thread, __d6_pthread_create, [AC_DEFINE(WITH_THREAD)
posix_threads=yes
LIBS="$LIBS -lthread"
LIBOBJS="$LIBOBJS
thread.o"], [
THREADOBJ="Python/
thread.o"], [
AC_CHECK_LIB(pthread, __pthread_create_system, [AC_DEFINE(WITH_THREAD)
posix_threads=yes
LIBS="$LIBS -lpthread"
LIBOBJS="$LIBOBJS
thread.o"], [
THREADOBJ="Python/
thread.o"], [
AC_CHECK_LIB(cma, pthread_create, [AC_DEFINE(WITH_THREAD)
posix_threads=yes
LIBS="$LIBS -lcma"
LIBOBJS="$LIBOBJS
thread.o"],[
THREADOBJ="Python/
thread.o"],[
USE_THREAD_MODULE="#"])
])])])])])])])])])])
...
...
@@ -1181,13 +1182,13 @@ pthread_create (NULL, NULL, start_routine, NULL)], [
AC_CHECK_LIB(mpc, usconfig, [AC_DEFINE(WITH_THREAD)
LIBS="$LIBS -lmpc"
LIBOBJS="$LIBOBJS
thread.o"
THREADOBJ="Python/
thread.o"
USE_THREAD_MODULE=""])
if test $posix_threads != "yes"; then
AC_CHECK_LIB(thread, thr_create, [AC_DEFINE(WITH_THREAD)
LIBS="$LIBS -lthread"
LIBOBJS="$LIBOBJS
thread.o"
THREADOBJ="Python/
thread.o"
USE_THREAD_MODULE=""])
fi
...
...
@@ -2086,13 +2087,6 @@ cat >> confdefs.h <<\EOF
EOF
AC_CHECK_TYPE(socklen_t, int)
# Add Python/ prefix to LIBOBJS
libobjs=$LIBOBJS
LIBOBJS=
for obj in $libobjs; do
LIBOBJS="$LIBOBJS Python/$obj"
done
#AC_MSG_CHECKING(for Modules/Setup)
#if test ! -f Modules/Setup ; then
# if test ! -d Modules ; then
...
...
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