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
82c19a74
Kaydet (Commit)
82c19a74
authored
Eki 06, 2002
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Also look in -lposix4 for sem_init. Fixes #618615.
üst
638a1e2d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
65 additions
and
20 deletions
+65
-20
configure
configure
+63
-19
configure.in
configure.in
+2
-1
No files found.
configure
Dosyayı görüntüle @
82c19a74
#! /bin/sh
# From configure.in Revision: 1.35
0
.
# From configure.in Revision: 1.35
1
.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53.
#
...
...
@@ -9219,14 +9219,13 @@ _ACEOF
fi
# Dynamic linking for HP-UX
echo
"
$as_me
:
$LINENO
: checking for sem_init in -lrt"
>
&5
echo
$ECHO_N
"checking for sem_init in -lrt...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_lib_rt_sem_init
+set
}
"
=
set
;
then
echo
"
$as_me
:
$LINENO
: checking for library containing sem_init"
>
&5
echo
$ECHO_N
"checking for library containing sem_init...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_search_sem_init
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
ac_
check_lib
_save_LIBS
=
$LIBS
LIBS
=
"-lrt
$LIBS
"
ac_
func_search
_save_LIBS
=
$LIBS
ac_cv_search_sem_init
=
no
cat
>
conftest.
$ac_ext
<<
_ACEOF
#line
$LINENO
"configure"
#include "confdefs.h"
...
...
@@ -9264,26 +9263,71 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
;
}
;
then
ac_cv_
lib_rt_sem_init
=
yes
ac_cv_
search_sem_init
=
"none required"
else
echo
"
$as_me
: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
ac_cv_lib_rt_sem_init
=
no
fi
rm
-f
conftest.
$ac_objext
conftest
$ac_exeext
conftest.
$ac_ext
LIBS
=
$ac_check_lib_save_LIBS
fi
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_lib_rt_sem_init
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_lib_rt_sem_init
"
>
&6
if
test
$ac_cv_lib_rt_sem_init
=
yes
;
then
cat
>>
confdefs.h
<<
_ACEOF
#define HAVE_LIBRT 1
_ACEOF
if
test
"
$ac_cv_search_sem_init
"
=
no
;
then
for
ac_lib
in
rt posix4
;
do
LIBS
=
"-l
$ac_lib
$ac_func_search_save_LIBS
"
cat
>
conftest.
$ac_ext
<<
_ACEOF
#line
$LINENO
"configure"
#include "confdefs.h"
LIBS
=
"-lrt
$LIBS
"
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char sem_init ();
#ifdef F77_DUMMY_MAIN
# ifdef __cplusplus
extern "C"
# endif
int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
sem_init ();
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
conftest
$ac_exeext
if
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_link
\"
"
)
>
&5
(
eval
$ac_link
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
ac_try
=
'test -s conftest$ac_exeext'
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_try
\"
"
)
>
&5
(
eval
$ac_try
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
;
}
;
then
ac_cv_search_sem_init
=
"-l
$ac_lib
"
break
else
echo
"
$as_me
: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
fi
rm
-f
conftest.
$ac_objext
conftest
$ac_exeext
conftest.
$ac_ext
done
fi
LIBS
=
$ac_func_search_save_LIBS
fi
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_search_sem_init
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_search_sem_init
"
>
&6
if
test
"
$ac_cv_search_sem_init
"
!=
no
;
then
test
"
$ac_cv_search_sem_init
"
=
"none required"
||
LIBS
=
"
$ac_cv_search_sem_init
$LIBS
"
fi
# 'Real Time' functions on Solaris
# 'Real Time' functions on Solaris,
# posix4 on Solaris 2.6
# checks for system dependent C++ extensions support
case
"
$ac_sys_system
"
in
...
...
configure.in
Dosyayı görüntüle @
82c19a74
...
...
@@ -1093,7 +1093,8 @@ AC_MSG_RESULT($SHLIBS)
# checks for libraries
AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV
AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-UX
AC_CHECK_LIB(rt, sem_init) # 'Real Time' functions on Solaris
AC_SEARCH_LIBS(sem_init, rt posix4) # 'Real Time' functions on Solaris,
# posix4 on Solaris 2.6
# checks for system dependent C++ extensions support
case "$ac_sys_system" in
...
...
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