diff --git a/CHANGES b/CHANGES index 4aa3aeb..290d7c9 100644 --- a/CHANGES +++ b/CHANGES @@ -72,12 +72,15 @@ Porting: Filan: Solaris has the open file path infos in /proc//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 diff --git a/configure.ac b/configure.ac index f32ff86..9d60473 100644 --- a/configure.ac +++ b/configure.ac @@ -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