0
0
mirror of https://github.com/vim/vim.git synced 2025-10-09 06:14:17 -04:00

updated for version 7.4.062

Problem:    Configure check for AvailabilityMacros.h is wrong.
Solution:   Use AC_CHECK_HEADERS().
This commit is contained in:
Bram Moolenaar
2013-11-03 20:26:31 +01:00
parent 39766a7595
commit 18e5469b6e
3 changed files with 11 additions and 3 deletions

8
src/auto/configure vendored
View File

@@ -4263,11 +4263,17 @@ else
$as_echo "no" >&6; } $as_echo "no" >&6; }
fi fi
for ac_header in AvailabilityMacros.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "AvailabilityMacros.h" "ac_cv_header_AvailabilityMacros_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 : if test "x$ac_cv_header_AvailabilityMacros_h" = x""yes; then :
HAVE_AVAILABILITYMACROS_H=1 cat >>confdefs.h <<_ACEOF
#define HAVE_AVAILABILITYMACROS_H 1
_ACEOF
fi fi
done

View File

@@ -230,7 +230,7 @@ fi
dnl Mac OS X 10.9+ no longer include AvailabilityMacros.h in Carbon 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. dnl so we need to include it to have access to version macros.
AC_CHECK_HEADER(AvailabilityMacros.h, HAVE_AVAILABILITYMACROS_H=1) AC_CHECK_HEADERS(AvailabilityMacros.h)
AC_SUBST(OS_EXTRA_SRC) AC_SUBST(OS_EXTRA_SRC)
AC_SUBST(OS_EXTRA_OBJ) AC_SUBST(OS_EXTRA_OBJ)

View File

@@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
62,
/**/ /**/
61, 61,
/**/ /**/