mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-15 23:35:02 -04:00
make rtsig optional
svn:r91
This commit is contained in:
parent
e1cd86d73e
commit
8a92823c67
@ -17,6 +17,11 @@ AC_PROG_RANLIB
|
||||
AC_PROG_INSTALL
|
||||
AC_PROG_LN_S
|
||||
|
||||
dnl Check for optional stuff
|
||||
AC_ARG_WITH(rtsig,
|
||||
[ --with-rtsig compile with support for real time signals (experimental)],
|
||||
[usertsig=yes], [usertsig=no])
|
||||
|
||||
dnl Checks for libraries.
|
||||
AC_CHECK_LIB(socket, socket)
|
||||
|
||||
@ -73,7 +78,9 @@ if test "x$havepoll" = "xyes" ; then
|
||||
AC_LIBOBJ(poll)
|
||||
needsignal=yes
|
||||
|
||||
AC_CHECK_FUNCS(sigtimedwait, [havertsig=yes], )
|
||||
if test "x$usertsig" = "xyes" ; then
|
||||
AC_CHECK_FUNCS(sigtimedwait, [havertsig=yes], )
|
||||
fi
|
||||
fi
|
||||
if test "x$havertsig" = "xyes" ; then
|
||||
AC_MSG_CHECKING(for F_SETSIG in fcntl.h)
|
||||
|
Loading…
x
Reference in New Issue
Block a user