summaryrefslogtreecommitdiffstats
path: root/src/configure.ac
diff options
context:
space:
mode:
authorEvan Miller <emmiller@gmail.com>2022-12-30 10:42:23 +0000
committerBram Moolenaar <Bram@vim.org>2022-12-30 10:42:23 +0000
commit254480736f7db3667c7b84873efb49c2cb1d385f (patch)
treebb553eea78434d15a688dd3c6321b81f13e9f4a2 /src/configure.ac
parentc4b3f6477c4956c49da1277d55e6915ea7e6a39e (diff)
patch 9.0.1110: build fails on Mac OS X 10.4/10.5v9.0.1110
Problem: Build fails on Mac OS X 10.4/10.5 . Solution: Check if the dispatch/dispatch.h header exists. (Evan Miller, closes #11746)
Diffstat (limited to 'src/configure.ac')
-rw-r--r--src/configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configure.ac b/src/configure.ac
index a5beb834dc..fc346dc811 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -314,6 +314,8 @@ fi
dnl Mac OS X 10.9+ no longer include AvailabilityMacros.h in Carbon
dnl so we need to include it to have access to version macros.
AC_CHECK_HEADERS(AvailabilityMacros.h)
+# 10.5 and earlier lack dispatch
+AC_CHECK_HEADERS(dispatch/dispatch.h)
AC_SUBST(OS_EXTRA_SRC)
AC_SUBST(OS_EXTRA_OBJ)