diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-11-02 21:04:38 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-11-02 21:04:38 +0100 |
commit | 2b1b53f5d9674c6fc41eab86178e3dcfd948d297 (patch) | |
tree | f3e3213243a14b84a905b96bd027381abb572aa8 /src/auto | |
parent | 1180822670e987ef204dfbf24e55fc09eed89650 (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/auto')
-rwxr-xr-x | src/auto/configure | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/auto/configure b/src/auto/configure index 07f794e8fc..9f43e8de27 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -4223,7 +4223,7 @@ rm -f core conftest.err conftest.$ac_objext \ OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o" CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -no-cpp-precomp" - # On IRIX 5.3, sys/types and inttypes.h are conflicting. + # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : @@ -4241,7 +4241,16 @@ fi done -ac_fn_c_check_header_mongrel "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default" +ac_fn_c_check_header_mongrel "$LINENO" "AvailabilityMacros.h" "ac_cv_header_AvailabilityMacros_h" "$ac_includes_default" +if test "x$ac_cv_header_AvailabilityMacros_h" = x""yes; then : + +$as_echo "#define HAVE_AVAILABILITYMACROS_H 1" >>confdefs.h + +fi + + + + ac_fn_c_check_header_mongrel "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default" if test "x$ac_cv_header_Carbon_Carbon_h" = x""yes; then : CARBON=yes fi |