summaryrefslogtreecommitdiffstats
path: root/src/auto
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/auto
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/auto')
-rwxr-xr-xsrc/auto/configure13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/auto/configure b/src/auto/configure
index 92826d4d6d..44d83c29fd 100755
--- a/src/auto/configure
+++ b/src/auto/configure
@@ -4816,6 +4816,19 @@ fi
done
+# 10.5 and earlier lack dispatch
+for ac_header in dispatch/dispatch.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "dispatch/dispatch.h" "ac_cv_header_dispatch_dispatch_h" "$ac_includes_default"
+if test "x$ac_cv_header_dispatch_dispatch_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_DISPATCH_DISPATCH_H 1
+_ACEOF
+
+fi
+
+done
+