… | |
… | |
56 | support_text_blink=no |
56 | support_text_blink=no |
57 | support_pointer_blank=no |
57 | support_pointer_blank=no |
58 | support_scroll_rxvt=no |
58 | support_scroll_rxvt=no |
59 | support_scroll_next=no |
59 | support_scroll_next=no |
60 | support_scroll_xterm=no |
60 | support_scroll_xterm=no |
|
|
61 | support_scroll_plain=no |
61 | support_xim=no |
62 | support_xim=no |
62 | support_xpm=no |
63 | support_xpm=no |
63 | support_xft=no |
64 | support_xft=no |
64 | support_unicode3=no |
65 | support_unicode3=no |
65 | codesets= |
66 | codesets= |
… | |
… | |
73 | INSTALL_LIBRXVT=yes |
74 | INSTALL_LIBRXVT=yes |
74 | fi |
75 | fi |
75 | AC_SUBST(INSTALL_LIBRXVT) |
76 | AC_SUBST(INSTALL_LIBRXVT) |
76 | |
77 | |
77 | AC_ARG_ENABLE(everything, |
78 | AC_ARG_ENABLE(everything, |
78 | [ --enable-everything enable standard non-multichoice features: marked * |
79 | [ --enable-everything enable standard non-multichoice features |
79 | NOTE: this option is order dependent |
80 | NOTE: this option is order dependent |
80 | NOTE: automatically enabled with --enable-shared], |
81 | NOTE: automatically enabled with --enable-shared], |
81 | [if test x$enableval = xyes; then |
82 | [if test x$enableval = xyes; then |
82 | support_24bit=yes |
83 | support_24bit=yes |
83 | support_frills=yes |
84 | support_frills=yes |
… | |
… | |
94 | support_text_blink=yes |
95 | support_text_blink=yes |
95 | support_pointer_blank=yes |
96 | support_pointer_blank=yes |
96 | support_scroll_rxvt=yes |
97 | support_scroll_rxvt=yes |
97 | support_scroll_next=yes |
98 | support_scroll_next=yes |
98 | support_scroll_xterm=yes |
99 | support_scroll_xterm=yes |
|
|
100 | support_scroll_plain=yes |
99 | support_utmp=yes |
101 | support_utmp=yes |
100 | support_wtmp=yes |
102 | support_wtmp=yes |
101 | support_xim=yes |
103 | support_xim=yes |
102 | support_xpm=yes |
104 | support_xpm=yes |
103 | support_xft=yes |
105 | support_xft=yes |
104 | support_unicode3=yes |
106 | support_unicode3=yes |
105 | codesets=all |
107 | codesets=all |
106 | fi]) |
108 | fi]) |
107 | |
109 | |
108 | echo |
|
|
109 | if test x$support_menubar = xyes; then |
|
|
110 | support_menubar=no |
|
|
111 | echo "******* menubar support disabled, does not work" |
|
|
112 | fi |
|
|
113 | echo |
|
|
114 | |
|
|
115 | AC_ARG_ENABLE(unicode3, |
110 | AC_ARG_ENABLE(unicode3, |
116 | [ --enable-unicode3 use 21 instead of 16 bits to represent unicode characters], |
111 | [ --enable-unicode3 use 21 instead of 16 bits to represent unicode characters], |
117 | [if test x$enableval = xyes; then |
112 | [if test x$enableval = xyes -o x$enableval = xno; then |
118 | support_unicode3=yes |
113 | support_unicode3=yes |
119 | fi]) |
114 | fi]) |
120 | |
115 | |
121 | AC_ARG_ENABLE(xft, |
116 | AC_ARG_ENABLE(xft, |
122 | [ --enable-xft enable xft support on systems that have it], |
117 | [ --enable-xft enable xft support on systems that have it], |
123 | [if test x$enableval = xyes; then |
118 | [if test x$enableval = xyes -o x$enableval = xno; then |
124 | support_xft=yes |
119 | support_xft=yes |
125 | fi]) |
120 | fi]) |
126 | |
121 | |
127 | AC_ARG_WITH(codesets, |
122 | AC_ARG_WITH(codesets, |
128 | [ --with-codesets=NAME,... compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,vn,all)], |
123 | [ --with-codesets=NAME,... compile in additional codesets (jp,jp_ext,kr,cn,cn_ext,vn,all)], |
129 | [if test x$enableval = xyes; then |
|
|
130 | codesets="$withval" |
124 | [codesets="$withval"]) |
131 | fi]) |
|
|
132 | |
|
|
133 | AC_ARG_WITH(encoding, |
|
|
134 | [ --with-encoding=NAME set language default encoding to NAME (default: sjis) |
|
|
135 | (eucj|sjis|big5|gb|kr|noenc)], |
|
|
136 | [if test x$enableval = xyes; then |
|
|
137 | withval=`echo $withval | tr '[a-z]' '[A-Z]'` |
|
|
138 | AC_DEFINE_UNQUOTED(MULTICHAR_ENCODING, $withval, Define default multichar glyph encoding) |
|
|
139 | fi]) |
|
|
140 | |
125 | |
141 | AC_ARG_ENABLE(utmp, |
126 | AC_ARG_ENABLE(utmp, |
142 | [ --enable-utmp enable utmp (utmpx) support], |
127 | [ --enable-utmp enable utmp (utmpx) support], |
143 | [if test x$enableval = xyes -o x$enableval = xno; then |
128 | [if test x$enableval = xyes -o x$enableval = xno; then |
144 | support_utmp=$enableval |
129 | support_utmp=$enableval |
… | |
… | |
188 | |
173 | |
189 | AC_ARG_ENABLE(xterm-scroll, |
174 | AC_ARG_ENABLE(xterm-scroll, |
190 | [ --enable-xterm-scroll enable Xterm style scrollbar], |
175 | [ --enable-xterm-scroll enable Xterm style scrollbar], |
191 | [if test x$enableval = xyes -o x$enableval = xno; then |
176 | [if test x$enableval = xyes -o x$enableval = xno; then |
192 | support_scroll_xterm=$enableval |
177 | support_scroll_xterm=$enableval |
|
|
178 | fi]) |
|
|
179 | |
|
|
180 | AC_ARG_ENABLE(plain-scroll, |
|
|
181 | [ --enable-plain-scroll enable plain style scrollbar], |
|
|
182 | [if test x$enableval = xyes -o x$enableval = xno; then |
|
|
183 | support_scroll_plain=$enableval |
193 | fi]) |
184 | fi]) |
194 | |
185 | |
195 | AC_ARG_ENABLE(half-shadow, |
186 | AC_ARG_ENABLE(half-shadow, |
196 | [ --enable-half-shadow use half width/height shadow on rxvt scrollbar], |
187 | [ --enable-half-shadow use half width/height shadow on rxvt scrollbar], |
197 | [if test x$enableval = xyes; then |
188 | [if test x$enableval = xyes; then |
… | |
… | |
200 | |
191 | |
201 | AC_ARG_ENABLE(xim, |
192 | AC_ARG_ENABLE(xim, |
202 | [ --enable-xim XIM (X Input Method) protocol support], |
193 | [ --enable-xim XIM (X Input Method) protocol support], |
203 | [if test x$enableval = xyes -o x$enableval = xno; then |
194 | [if test x$enableval = xyes -o x$enableval = xno; then |
204 | support_xim=$enableval |
195 | support_xim=$enableval |
205 | fi]) |
|
|
206 | |
|
|
207 | AC_ARG_ENABLE(greek, |
|
|
208 | [ --enable-greek enable greek keyboard support], |
|
|
209 | [if test x$enableval = xyes; then |
|
|
210 | AC_DEFINE(GREEK_SUPPORT, 1, Define if you want support for Greek Elot-928 & IBM-437 keyboard) |
|
|
211 | fi]) |
196 | fi]) |
212 | |
197 | |
213 | AC_ARG_ENABLE(ttygid, |
198 | AC_ARG_ENABLE(ttygid, |
214 | [ --enable-ttygid enable tty setting to group named "tty"], |
199 | [ --enable-ttygid enable tty setting to group named "tty"], |
215 | [if test x$enableval = xyes; then |
200 | [if test x$enableval = xyes; then |
… | |
… | |
354 | [if test x$enableval = xyes -o x$enableval = xno; then |
339 | [if test x$enableval = xyes -o x$enableval = xno; then |
355 | support_pointer_blank=$enableval |
340 | support_pointer_blank=$enableval |
356 | fi]) |
341 | fi]) |
357 | |
342 | |
358 | AC_ARG_WITH(term, |
343 | AC_ARG_WITH(term, |
359 | [ --with-term=NAME set the terminal to NAME (default \"xterm\")], |
344 | [ --with-term=NAME set the terminal to NAME (default \"rxvt\")], |
360 | [if test x$withval != x; then |
345 | [if test x$withval != x; then |
361 | AC_DEFINE_UNQUOTED(TERMENV, "$withval",Set TERM to the value given by configure) term="$withval" |
346 | AC_DEFINE_UNQUOTED(TERMENV, "$withval",Set TERM to the value given by configure) term="$withval" |
362 | fi]) |
347 | fi]) |
363 | |
348 | |
364 | AC_ARG_WITH(terminfo, |
349 | AC_ARG_WITH(terminfo, |
… | |
… | |
1178 | fi |
1163 | fi |
1179 | if test x$support_scroll_xterm = xyes; then |
1164 | if test x$support_scroll_xterm = xyes; then |
1180 | AC_DEFINE(XTERM_SCROLLBAR, 1, Support Xterm style scrollbars) |
1165 | AC_DEFINE(XTERM_SCROLLBAR, 1, Support Xterm style scrollbars) |
1181 | scrolltypes="$scrolltypes xterm" |
1166 | scrolltypes="$scrolltypes xterm" |
1182 | fi |
1167 | fi |
|
|
1168 | if test x$support_scroll_plain = xyes; then |
|
|
1169 | AC_DEFINE(PLAIN_SCROLLBAR, 1, Support plain style scrollbars) |
|
|
1170 | scrolltypes="$scrolltypes plain" |
|
|
1171 | fi |
1183 | if test x$support_pointer_blank = xyes; then |
1172 | if test x$support_pointer_blank = xyes; then |
1184 | AC_DEFINE(POINTER_BLANK, 1, Define if you want hide the pointer while typing) |
1173 | AC_DEFINE(POINTER_BLANK, 1, Define if you want hide the pointer while typing) |
1185 | fi |
1174 | fi |
1186 | if test x$support_cursor_blink = xyes; then |
1175 | if test x$support_cursor_blink = xyes; then |
1187 | AC_DEFINE(CURSOR_BLINK, 1, Define if you want blinking cursor support) |
1176 | AC_DEFINE(CURSOR_BLINK, 1, Define if you want blinking cursor support) |