Mercurial > vim
comparison src/configure.in @ 5409:38a755adc580 v7.4.055
updated for version 7.4.055
Problem: Mac: Where availability macros are defined depends on the system.
Solution: Add a configure check. (Felix B?nemann)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 02 Nov 2013 21:04:38 +0100 |
parents | 31c9acfeda8f |
children | 739074bdceb8 |
comparison
equal
deleted
inserted
replaced
5408:1bae8529c983 | 5409:38a755adc580 |
---|---|
203 MACOSX=yes | 203 MACOSX=yes |
204 OS_EXTRA_SRC="os_macosx.m os_mac_conv.c"; | 204 OS_EXTRA_SRC="os_macosx.m os_mac_conv.c"; |
205 OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o" | 205 OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o" |
206 dnl TODO: use -arch i386 on Intel machines | 206 dnl TODO: use -arch i386 on Intel machines |
207 CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -no-cpp-precomp" | 207 CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -no-cpp-precomp" |
208 | |
209 dnl Mac OS X 10.9+ no longer include AvailabilityMacros.h in Carbon | |
210 dnl so we need to include it to have access to version macros. | |
211 AC_CHECK_HEADER(AvailabilityMacros.h, [AC_DEFINE(HAVE_AVAILABILITYMACROS_H, 1, [ Define if we have AvailabilityMacros.h on Mac OS X ])]) | |
208 | 212 |
209 dnl If Carbon is found, assume we don't want X11 | 213 dnl If Carbon is found, assume we don't want X11 |
210 dnl unless it was specifically asked for (--with-x) | 214 dnl unless it was specifically asked for (--with-x) |
211 dnl or Motif, Athena or GTK GUI is used. | 215 dnl or Motif, Athena or GTK GUI is used. |
212 AC_CHECK_HEADER(Carbon/Carbon.h, CARBON=yes) | 216 AC_CHECK_HEADER(Carbon/Carbon.h, CARBON=yes) |