mirror of
https://repo.or.cz/socat.git
synced 2024-12-22 15:32:35 +00:00
Solaris derivatives no longer need librt for clock_gettime()
This commit is contained in:
parent
2702fef723
commit
4388f4b774
2 changed files with 6 additions and 4 deletions
7
CHANGES
7
CHANGES
|
@ -72,12 +72,15 @@ Porting:
|
|||
Filan: Solaris has the open file path infos in /proc/<pid>/path/
|
||||
Thanks to Andy Fiddaman to directing me to the patch.
|
||||
|
||||
Filan now recognizes and prints Solaris doors and event ports.
|
||||
|
||||
Solaris derivatives no longer need librt for clock_gettime()
|
||||
Thanks to Andy Fiddaman to directing me to the patch.
|
||||
|
||||
Features:
|
||||
Filan prints target of symlink when appropriate
|
||||
Test: FILANSYMLINK
|
||||
|
||||
Filan now recognizes and prints Solaris doors and event ports.
|
||||
|
||||
Testing:
|
||||
Unset SOCAT_MAIN_WAIT on informational Socat calls
|
||||
|
||||
|
|
|
@ -1516,8 +1516,7 @@ AC_CHECK_LIB(util, openpty,
|
|||
|
||||
AC_CHECK_PROTOTYPE_LIB(gettimeofday)
|
||||
|
||||
AC_CHECK_LIB(rt, clock_gettime,
|
||||
[LIBS="-lrt $LIBS"; AC_DEFINE(HAVE_CLOCK_GETTIME)])
|
||||
AC_CHECK_FUNC(clock_gettime, AC_DEFINE(HAVE_CLOCK_GETTIME), AC_CHECK_LIB(rt, clock_gettime, [LIBS="-lrt $LIBS"; AC_DEFINE(HAVE_CLOCK_GETTIME)]))
|
||||
|
||||
dnl Search for flock()
|
||||
# with Linux it's in libc, with AIX in libbsd
|
||||
|
|
Loading…
Reference in a new issue