summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.0664
blob: 1002ffe3c35ca29ce6d3266daacf6d4c93e6213f (plain)
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
To: vim_dev@googlegroups.com
Subject: Patch 8.1.0664
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 8.1.0664
Problem:    Configure "fail-if-missing" does not apply to the enable-gui
            argument. (Rhialto)
Solution:   Make configure fail if a GUI was specifified and "fail-if-missing"
            is enabled and the GUI test fails.
Files:	    src/configure.ac, src/auto/configure


*** ../vim-8.1.0663/src/configure.ac	2018-12-21 11:48:48.320680492 +0100
--- src/configure.ac	2018-12-30 22:50:41.033968462 +0100
***************
*** 2366,2373 ****
    case "$enable_gui_canon" in
      no)		AC_MSG_RESULT(no GUI support)
  		SKIP_PHOTON=YES ;;
!     yes|"")	AC_MSG_RESULT(yes - automatic GUI support) ;;
!     auto)	AC_MSG_RESULT(auto - automatic GUI support) ;;
      photon)	AC_MSG_RESULT(Photon GUI support) ;;
      *)		AC_MSG_RESULT([Sorry, $enable_gui GUI is not supported])
  		SKIP_PHOTON=YES ;;
--- 2366,2373 ----
    case "$enable_gui_canon" in
      no)		AC_MSG_RESULT(no GUI support)
  		SKIP_PHOTON=YES ;;
!     yes|""|auto) AC_MSG_RESULT(automatic GUI support)
!     		gui_auto=yes ;;
      photon)	AC_MSG_RESULT(Photon GUI support) ;;
      *)		AC_MSG_RESULT([Sorry, $enable_gui GUI is not supported])
  		SKIP_PHOTON=YES ;;
***************
*** 2378,2384 ****
    case "$enable_gui_canon" in
      no)		AC_MSG_RESULT(no GUI support)
  		SKIP_CARBON=YES ;;
!     yes|"")	AC_MSG_RESULT(yes - automatic GUI support) ;;
      auto)	AC_MSG_RESULT(auto - Carbon GUI is outdated - disable GUI support)
  		SKIP_CARBON=YES ;;
      carbon)	AC_MSG_RESULT(Carbon GUI support) ;;
--- 2378,2385 ----
    case "$enable_gui_canon" in
      no)		AC_MSG_RESULT(no GUI support)
  		SKIP_CARBON=YES ;;
!     yes|"")	AC_MSG_RESULT(yes - automatic GUI support)
!     		gui_auto=yes ;;
      auto)	AC_MSG_RESULT(auto - Carbon GUI is outdated - disable GUI support)
  		SKIP_CARBON=YES ;;
      carbon)	AC_MSG_RESULT(Carbon GUI support) ;;
***************
*** 2391,2396 ****
--- 2392,2398 ----
    case "$enable_gui_canon" in
      no|none)	AC_MSG_RESULT(no GUI support) ;;
      yes|""|auto)	AC_MSG_RESULT(yes/auto - automatic GUI support)
+ 		gui_auto=yes
  		SKIP_GTK2=
  		SKIP_GNOME=
  		SKIP_MOTIF=
***************
*** 2638,2643 ****
--- 2640,2648 ----
        GTK_CFLAGS=""
        GTK_LIBS=""
        ifelse([$3], , :, [$3])
+       if test "$fail_if_missing" = "yes" -a "X$gui_auto" != "Xyes"; then
+ 	AC_MSG_ERROR([could not configure GTK])
+       fi
      }
      fi
    }
*** ../vim-8.1.0663/src/auto/configure	2018-12-21 11:48:48.320680492 +0100
--- src/auto/configure	2018-12-30 22:51:45.169474227 +0100
***************
*** 9115,9124 ****
      no)		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no GUI support" >&5
  $as_echo "no GUI support" >&6; }
  		SKIP_PHOTON=YES ;;
!     yes|"")	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - automatic GUI support" >&5
! $as_echo "yes - automatic GUI support" >&6; } ;;
!     auto)	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: auto - automatic GUI support" >&5
! $as_echo "auto - automatic GUI support" >&6; } ;;
      photon)	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Photon GUI support" >&5
  $as_echo "Photon GUI support" >&6; } ;;
      *)		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Sorry, $enable_gui GUI is not supported" >&5
--- 9115,9123 ----
      no)		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no GUI support" >&5
  $as_echo "no GUI support" >&6; }
  		SKIP_PHOTON=YES ;;
!     yes|""|auto) { $as_echo "$as_me:${as_lineno-$LINENO}: result: automatic GUI support" >&5
! $as_echo "automatic GUI support" >&6; }
!     		gui_auto=yes ;;
      photon)	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Photon GUI support" >&5
  $as_echo "Photon GUI support" >&6; } ;;
      *)		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Sorry, $enable_gui GUI is not supported" >&5
***************
*** 9133,9139 ****
  $as_echo "no GUI support" >&6; }
  		SKIP_CARBON=YES ;;
      yes|"")	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - automatic GUI support" >&5
! $as_echo "yes - automatic GUI support" >&6; } ;;
      auto)	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: auto - Carbon GUI is outdated - disable GUI support" >&5
  $as_echo "auto - Carbon GUI is outdated - disable GUI support" >&6; }
  		SKIP_CARBON=YES ;;
--- 9132,9139 ----
  $as_echo "no GUI support" >&6; }
  		SKIP_CARBON=YES ;;
      yes|"")	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - automatic GUI support" >&5
! $as_echo "yes - automatic GUI support" >&6; }
!     		gui_auto=yes ;;
      auto)	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: auto - Carbon GUI is outdated - disable GUI support" >&5
  $as_echo "auto - Carbon GUI is outdated - disable GUI support" >&6; }
  		SKIP_CARBON=YES ;;
***************
*** 9151,9156 ****
--- 9151,9157 ----
  $as_echo "no GUI support" >&6; } ;;
      yes|""|auto)	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes/auto - automatic GUI support" >&5
  $as_echo "yes/auto - automatic GUI support" >&6; }
+ 		gui_auto=yes
  		SKIP_GTK2=
  		SKIP_GNOME=
  		SKIP_MOTIF=
***************
*** 9582,9587 ****
--- 9583,9591 ----
        GTK_CFLAGS=""
        GTK_LIBS=""
        :
+       if test "$fail_if_missing" = "yes" -a "X$gui_auto" != "Xyes"; then
+ 	as_fn_error $? "could not configure GTK" "$LINENO" 5
+       fi
      }
      fi
    }
***************
*** 9933,9938 ****
--- 9937,9945 ----
        GTK_CFLAGS=""
        GTK_LIBS=""
        :
+       if test "$fail_if_missing" = "yes" -a "X$gui_auto" != "Xyes"; then
+ 	as_fn_error $? "could not configure GTK" "$LINENO" 5
+       fi
      }
      fi
    }
*** ../vim-8.1.0663/src/version.c	2018-12-30 22:07:35.596868093 +0100
--- src/version.c	2018-12-30 22:51:54.173404811 +0100
***************
*** 801,802 ****
--- 801,804 ----
  {   /* Add new patch number below this line */
+ /**/
+     664,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
88. Every single time you press the 'Get mail' button...it does get new mail.

 /// 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    ///