mirror of https://github.com/python/cpython
Patch #532729: check for sem_init in -lrt.
This commit is contained in:
parent
e22d3dfcc1
commit
41933dd1b7
|
@ -916,6 +916,7 @@ AC_MSG_RESULT($CFLAGSFORSHARED)
|
|||
# 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
|
||||
|
||||
# checks for system dependent C++ extensions support
|
||||
case "$ac_sys_system" in
|
||||
|
|
|
@ -106,9 +106,7 @@
|
|||
#undef __EXTENSIONS__
|
||||
|
||||
/* This must be set to 64 on some systems to enable large file support */
|
||||
#ifndef _FILE_OFFSET_BITS
|
||||
#undef _FILE_OFFSET_BITS
|
||||
#endif
|
||||
|
||||
/* Define if getpgrp() must be called as getpgrp(0). */
|
||||
#undef GETPGRP_HAVE_ARG
|
||||
|
@ -761,6 +759,9 @@
|
|||
/* Define if you have the ieee library (-lieee). */
|
||||
#undef HAVE_LIBIEEE
|
||||
|
||||
/* Define if you have the rt library (-lrt). */
|
||||
#undef HAVE_LIBRT
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
#ifdef USE_DL_IMPORT
|
||||
#define DL_IMPORT(RTYPE) __declspec(dllimport) RTYPE
|
||||
|
|
Loading…
Reference in New Issue