Karsten Hopp 21f384
To: vim_dev@googlegroups.com
Karsten Hopp 21f384
Subject: Patch 7.4.062
Karsten Hopp 21f384
Fcc: outbox
Karsten Hopp 21f384
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 21f384
Mime-Version: 1.0
Karsten Hopp 21f384
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 21f384
Content-Transfer-Encoding: 8bit
Karsten Hopp 21f384
------------
Karsten Hopp 21f384
Karsten Hopp 21f384
Patch 7.4.062 (after 7.4.061)
Karsten Hopp 21f384
Problem:    Configure check for AvailabilityMacros.h is wrong.
Karsten Hopp 21f384
Solution:   Use AC_CHECK_HEADERS().
Karsten Hopp 21f384
Files:      src/configure.in, src/auto/configure
Karsten Hopp 21f384
Karsten Hopp 21f384
Karsten Hopp 21f384
*** ../vim-7.4.061/src/configure.in	2013-11-03 00:40:54.000000000 +0100
Karsten Hopp 21f384
--- src/configure.in	2013-11-03 20:19:42.000000000 +0100
Karsten Hopp 21f384
***************
Karsten Hopp 21f384
*** 230,236 ****
Karsten Hopp 21f384
  
Karsten Hopp 21f384
  dnl Mac OS X 10.9+ no longer include AvailabilityMacros.h in Carbon
Karsten Hopp 21f384
  dnl so we need to include it to have access to version macros.
Karsten Hopp 21f384
! AC_CHECK_HEADER(AvailabilityMacros.h, HAVE_AVAILABILITYMACROS_H=1)
Karsten Hopp 21f384
  
Karsten Hopp 21f384
  AC_SUBST(OS_EXTRA_SRC)
Karsten Hopp 21f384
  AC_SUBST(OS_EXTRA_OBJ)
Karsten Hopp 21f384
--- 230,236 ----
Karsten Hopp 21f384
  
Karsten Hopp 21f384
  dnl Mac OS X 10.9+ no longer include AvailabilityMacros.h in Carbon
Karsten Hopp 21f384
  dnl so we need to include it to have access to version macros.
Karsten Hopp 21f384
! AC_CHECK_HEADERS(AvailabilityMacros.h)
Karsten Hopp 21f384
  
Karsten Hopp 21f384
  AC_SUBST(OS_EXTRA_SRC)
Karsten Hopp 21f384
  AC_SUBST(OS_EXTRA_OBJ)
Karsten Hopp 21f384
*** ../vim-7.4.061/src/auto/configure	2013-11-03 00:40:54.000000000 +0100
Karsten Hopp 21f384
--- src/auto/configure	2013-11-03 20:22:56.000000000 +0100
Karsten Hopp 21f384
***************
Karsten Hopp 21f384
*** 4263,4273 ****
Karsten Hopp 21f384
  $as_echo "no" >&6; }
Karsten Hopp 21f384
  fi
Karsten Hopp 21f384
  
Karsten Hopp 21f384
! ac_fn_c_check_header_mongrel "$LINENO" "AvailabilityMacros.h" "ac_cv_header_AvailabilityMacros_h" "$ac_includes_default"
Karsten Hopp 21f384
  if test "x$ac_cv_header_AvailabilityMacros_h" = x""yes; then :
Karsten Hopp 21f384
!   HAVE_AVAILABILITYMACROS_H=1
Karsten Hopp 21f384
  fi
Karsten Hopp 21f384
  
Karsten Hopp 21f384
  
Karsten Hopp 21f384
  
Karsten Hopp 21f384
  
Karsten Hopp 21f384
--- 4263,4279 ----
Karsten Hopp 21f384
  $as_echo "no" >&6; }
Karsten Hopp 21f384
  fi
Karsten Hopp 21f384
  
Karsten Hopp 21f384
! for ac_header in AvailabilityMacros.h
Karsten Hopp 21f384
! do :
Karsten Hopp 21f384
!   ac_fn_c_check_header_mongrel "$LINENO" "AvailabilityMacros.h" "ac_cv_header_AvailabilityMacros_h" "$ac_includes_default"
Karsten Hopp 21f384
  if test "x$ac_cv_header_AvailabilityMacros_h" = x""yes; then :
Karsten Hopp 21f384
!   cat >>confdefs.h <<_ACEOF
Karsten Hopp 21f384
! #define HAVE_AVAILABILITYMACROS_H 1
Karsten Hopp 21f384
! _ACEOF
Karsten Hopp 21f384
! 
Karsten Hopp 21f384
  fi
Karsten Hopp 21f384
  
Karsten Hopp 21f384
+ done
Karsten Hopp 21f384
  
Karsten Hopp 21f384
  
Karsten Hopp 21f384
  
Karsten Hopp 21f384
*** ../vim-7.4.061/src/version.c	2013-11-03 00:40:54.000000000 +0100
Karsten Hopp 21f384
--- src/version.c	2013-11-03 20:25:31.000000000 +0100
Karsten Hopp 21f384
***************
Karsten Hopp 21f384
*** 740,741 ****
Karsten Hopp 21f384
--- 740,743 ----
Karsten Hopp 21f384
  {   /* Add new patch number below this line */
Karsten Hopp 21f384
+ /**/
Karsten Hopp 21f384
+     62,
Karsten Hopp 21f384
  /**/
Karsten Hopp 21f384
Karsten Hopp 21f384
-- 
Karsten Hopp 21f384
Yesterday, all my deadlines seemed so far away
Karsten Hopp 21f384
now it looks as though it's freeze in four days
Karsten Hopp 21f384
oh I believe in cvs..
Karsten Hopp 21f384
    [ CVS log "Beatles style" for FreeBSD ports/INDEX, Satoshi Asami ]
Karsten Hopp 21f384
Karsten Hopp 21f384
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 21f384
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 21f384
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 21f384
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///