patch 9.0.1110: build fails on Mac OS X 10.4/10.5
Problem: Build fails on Mac OS X 10.4/10.5 .
Solution: Check if the dispatch/dispatch.h header exists. (Evan Miller,
closes #11746)
diff --git a/src/configure.ac b/src/configure.ac
index a5beb83..fc346dc 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -314,6 +314,8 @@
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)