summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-11-19 07:24:41 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-19 07:24:41 (GMT)
commit1c6e646235f5442bafcf303e3ed6a083efd3e0e0 (patch)
tree84d92bfb9caa3eea96b191961a3feeec00befd38 /configure.ac
parentf5f0f68d61301c3ffb2f8da84f627547e8f9a94c (diff)
parent2648ccc231b38206e2dafe9a6cc1ca0978bcef5e (diff)
downloadgit-1c6e646235f5442bafcf303e3ed6a083efd3e0e0.zip
git-1c6e646235f5442bafcf303e3ed6a083efd3e0e0.tar.gz
git-1c6e646235f5442bafcf303e3ed6a083efd3e0e0.tar.bz2
Merge branch 'dd/poll-dot-h'
A build update. * dd/poll-dot-h: git-compat-util: prefer poll.h to sys/poll.h
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 44e8c03..e0d0da3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -789,6 +789,12 @@ AC_CHECK_HEADER([sys/select.h],
[NO_SYS_SELECT_H=UnfortunatelyYes])
GIT_CONF_SUBST([NO_SYS_SELECT_H])
#
+# Define NO_POLL_H if you don't have poll.h
+AC_CHECK_HEADER([poll.h],
+[NO_POLL_H=],
+[NO_POLL_H=UnfortunatelyYes])
+GIT_CONF_SUBST([NO_POLL_H])
+#
# Define NO_SYS_POLL_H if you don't have sys/poll.h
AC_CHECK_HEADER([sys/poll.h],
[NO_SYS_POLL_H=],