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