summaryrefslogtreecommitdiffstats
path: root/src/configure.in
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-11-02 21:04:38 +0100
committerBram Moolenaar <Bram@vim.org>2013-11-02 21:04:38 +0100
commit2b1b53f5d9674c6fc41eab86178e3dcfd948d297 (patch)
treef3e3213243a14b84a905b96bd027381abb572aa8 /src/configure.in
parent1180822670e987ef204dfbf24e55fc09eed89650 (diff)
updated for version 7.4.055v7.4.055
Problem: Mac: Where availability macros are defined depends on the system. Solution: Add a configure check. (Felix Bünemann)
Diffstat (limited to 'src/configure.in')
-rw-r--r--src/configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/configure.in b/src/configure.in
index 11e1d63d96..73470fc7db 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -206,6 +206,10 @@ if test "`(uname) 2>/dev/null`" = Darwin; then
dnl TODO: use -arch i386 on Intel machines
CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -no-cpp-precomp"
+ 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_HEADER(AvailabilityMacros.h, [AC_DEFINE(HAVE_AVAILABILITYMACROS_H, 1, [ Define if we have AvailabilityMacros.h on Mac OS X ])])
+
dnl If Carbon is found, assume we don't want X11
dnl unless it was specifically asked for (--with-x)
dnl or Motif, Athena or GTK GUI is used.