Patch 7.4.062 (after 7.4.061)
Problem:    Configure check for AvailabilityMacros.h is wrong.
Solution:   Use AC_CHECK_HEADERS().
Files:      src/configure.in, src/auto/configure


*** ../vim-7.4.061/src/configure.in     2013-11-03 00:40:54.000000000 +0100
--- src/configure.in    2013-11-03 20:19:42.000000000 +0100
***************
*** 230,236 ****
  
  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)
--- 230,236 ----
  
  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_HEADERS(AvailabilityMacros.h)
  
  AC_SUBST(OS_EXTRA_SRC)
  AC_SUBST(OS_EXTRA_OBJ)
*** ../vim-7.4.061/src/auto/configure   2013-11-03 00:40:54.000000000 +0100
--- src/auto/configure  2013-11-03 20:22:56.000000000 +0100
***************
*** 4263,4273 ****
  $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
  
  
  
  
--- 4263,4279 ----
  $as_echo "no" >&6; }
  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"
  if test "x$ac_cv_header_AvailabilityMacros_h" = x""yes; then :
!   cat >>confdefs.h <<_ACEOF
! #define HAVE_AVAILABILITYMACROS_H 1
! _ACEOF
! 
  fi
  
+ done
  
  
  
*** ../vim-7.4.061/src/version.c        2013-11-03 00:40:54.000000000 +0100
--- src/version.c       2013-11-03 20:25:31.000000000 +0100
***************
*** 740,741 ****
--- 740,743 ----
  {   /* Add new patch number below this line */
+ /**/
+     62,
  /**/

-- 
Yesterday, all my deadlines seemed so far away
now it looks as though it's freeze in four days
oh I believe in cvs..
    [ CVS log "Beatles style" for FreeBSD ports/INDEX, Satoshi Asami ]

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui