mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Update the configure script check for sys/poll.h to also provide the result in
include/asterisk/autoconfig.h. Also, move the conditional include of sys/poll.h or asterisk/poll-compat.h into asterisk/config.h instead of the two headers it existed in before. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -288,7 +288,10 @@ AC_CHECK_FUNCS([asprintf atexit bzero dup2 endpwent ftruncate getcwd gethostbyna
|
||||
|
||||
AC_CHECK_FUNCS([glob])
|
||||
AC_CHECK_FUNCS([timersub])
|
||||
AC_CHECK_HEADER([sys/poll.h], [HAS_POLL=1],)
|
||||
AC_CHECK_HEADER([sys/poll.h],
|
||||
[HAS_POLL=1]
|
||||
AC_DEFINE([HAVE_SYS_POLL_H], 1, [Define to 1 if your system has working sys/poll.h]),
|
||||
)
|
||||
AC_SUBST(HAS_POLL)
|
||||
|
||||
# https support (in main/http.c) uses funopen on BSD systems,
|
||||
|
Reference in New Issue
Block a user