summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-11-03 00:41:00 +0100
committerBram Moolenaar <Bram@vim.org>2013-11-03 00:41:00 +0100
commit39766a7595461b89d1aebff72ac3853225e6a4c5 (patch)
tree00df2e3fe0c13c49f737e9b2a2b52c472b1e4873
parent0b400087d076ba1a476d753c019fbfd96d8ae58e (diff)
updated for version 7.4.061v7.4.061
Problem: Availability macros configure check in wrong place. Solution: Also check when not using Darwin. Remove version check.
-rwxr-xr-xsrc/auto/configure20
-rw-r--r--src/configure.in8
-rw-r--r--src/os_unix.c4
-rw-r--r--src/version.c2
4 files changed, 16 insertions, 18 deletions
diff --git a/src/auto/configure b/src/auto/configure
index 9f43e8de27..75f76a6301 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,16 +4241,7 @@ fi
done
-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"
+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
@@ -4272,6 +4263,13 @@ else
$as_echo "no" >&6; }
fi
+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 :
+ HAVE_AVAILABILITYMACROS_H=1
+fi
+
+
+
diff --git a/src/configure.in b/src/configure.in
index 73470fc7db..ee70682b22 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -206,10 +206,6 @@ 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.
@@ -232,6 +228,10 @@ else
AC_MSG_RESULT(no)
fi
+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, HAVE_AVAILABILITYMACROS_H=1)
+
AC_SUBST(OS_EXTRA_SRC)
AC_SUBST(OS_EXTRA_OBJ)
diff --git a/src/os_unix.c b/src/os_unix.c
index 80459c94eb..5eb0936c88 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -804,9 +804,7 @@ mch_stackcheck(p)
* completely full.
*/
-#if defined(HAVE_AVAILABILITYMACROS_H) \
- && defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) \
- && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 1090)
+#if defined(HAVE_AVAILABILITYMACROS_H)
# include <AvailabilityMacros.h>
#endif
diff --git a/src/version.c b/src/version.c
index 0c5c5734e8..5ef4c228cc 100644
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 61,
+/**/
60,
/**/
59,