summaryrefslogtreecommitdiffstats
path: root/patches/source/vim/patches/7.4.062
blob: dad0a420ce97a9aae448375c1eea1c3e5609a44e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
To: vim_dev@googlegroups.com
Subject: Patch 7.4.062
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

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 -- Bram@Moolenaar.net -- 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    ///