mirror of
https://repo.or.cz/socat.git
synced 2025-07-16 16:13:24 +00:00
Corrected gettimeofday() handling
This commit is contained in:
parent
4cebaf45e4
commit
25cef1c540
6 changed files with 49 additions and 35 deletions
|
@ -1,4 +1,4 @@
|
|||
dnl source: configure.in
|
||||
dnl source: configure.ac
|
||||
dnl Copyright Gerhard Rieger and contributors (see file CHANGES)
|
||||
dnl Published under the GNU General Public License V.2, see file COPYING
|
||||
|
||||
|
@ -1491,6 +1491,8 @@ AC_CHECK_LIB(bsd, openpty,
|
|||
AC_CHECK_LIB(util, openpty,
|
||||
[LIBS="-lutil $LIBS"; AC_DEFINE(HAVE_OPENPTY)])
|
||||
|
||||
AC_CHECK_PROTOTYPE_LIB(gettimeofday)
|
||||
|
||||
AC_CHECK_LIB(rt, clock_gettime,
|
||||
[LIBS="-lrt $LIBS"; AC_DEFINE(HAVE_CLOCK_GETTIME)])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue