Patch #532729: check for sem_init in -lrt.

This commit is contained in:
Martin v. Löwis 2002-03-21 15:10:58 +00:00
parent e22d3dfcc1
commit 41933dd1b7
3 changed files with 313 additions and 264 deletions

571
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -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

View file

@ -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