summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-04-09 14:55:03 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-04-09 14:57:09 -0700
commit4823838f77ab03cccd07860fdf8002bc577e0f04 (patch)
treef14e71c38d43ee82d245d4240b61bca02c183e42 /configure.ac
parent638f4ac8e233973dc3c89d87cd9f6ac05489fef4 (diff)
luit: Convert platform #ifdefs to configure tests for functions & headers
Also check for __SVR4 in remaining SVR4 check to match Solaris compiler default definition. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0b3bc27..a05c0f0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,6 +38,9 @@ AC_CANONICAL_HOST
XORG_CWARNFLAGS
+AC_CHECK_HEADERS([poll.h pty.h stropts.h sys/param.h sys/select.h])
+AC_CHECK_FUNCS([poll select grantpt])
+
AC_CHECK_LIB(z, gzopen,, AC_MSG_ERROR([zlib not found]))
AC_ARG_WITH(localealiasfile,