comparison src/auto/configure @ 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
4221 MACOSX=yes 4221 MACOSX=yes
4222 OS_EXTRA_SRC="os_macosx.m os_mac_conv.c"; 4222 OS_EXTRA_SRC="os_macosx.m os_mac_conv.c";
4223 OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o" 4223 OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o"
4224 CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -no-cpp-precomp" 4224 CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -no-cpp-precomp"
4225 4225
4226 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4226 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4227 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4227 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4228 inttypes.h stdint.h unistd.h 4228 inttypes.h stdint.h unistd.h
4229 do : 4229 do :
4230 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4230 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4231 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4231 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4239 fi 4239 fi
4240 4240
4241 done 4241 done
4242 4242
4243 4243
4244 ac_fn_c_check_header_mongrel "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default" 4244 ac_fn_c_check_header_mongrel "$LINENO" "AvailabilityMacros.h" "ac_cv_header_AvailabilityMacros_h" "$ac_includes_default"
4245 if test "x$ac_cv_header_AvailabilityMacros_h" = x""yes; then :
4246
4247 $as_echo "#define HAVE_AVAILABILITYMACROS_H 1" >>confdefs.h
4248
4249 fi
4250
4251
4252
4253 ac_fn_c_check_header_mongrel "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
4245 if test "x$ac_cv_header_Carbon_Carbon_h" = x""yes; then : 4254 if test "x$ac_cv_header_Carbon_Carbon_h" = x""yes; then :
4246 CARBON=yes 4255 CARBON=yes
4247 fi 4256 fi
4248 4257
4249 4258