diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-17 02:57:40 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-17 02:57:40 +0000 |
commit | fa361ae75098b9214d6f3412767ab0ed9cae2b82 (patch) | |
tree | 967c12133a8fe8bdb9d2e150f59f04bb7706e8a4 /configure.ac | |
parent | 5053d21badc790558c7209654bc2026571631e1d (diff) |
use autoconf to check for the existence of sys/poll.h
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89354 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e00bc334f..9f48ec594 100644 --- a/configure.ac +++ b/configure.ac @@ -285,6 +285,8 @@ AC_FUNC_VPRINTF AC_CHECK_FUNCS([asprintf atexit bzero dup2 endpwent ftruncate getcwd gethostbyname gethostname getloadavg gettimeofday inet_ntoa isascii localtime_r memchr memmove memset mkdir munmap putenv re_comp regcomp select setenv socket strcasecmp strcasestr strchr strcspn strdup strerror strlcat strlcpy strncasecmp strndup strnlen strrchr strsep strspn strstr strtol strtoq unsetenv utime vasprintf]) AC_CHECK_FUNCS([glob]) +AC_CHECK_HEADER([sys/poll.h], [HAS_POLL=1],) +AC_SUBST(HAS_POLL) # https support (in main/http.c) uses funopen on BSD systems, # fopencookie on linux |