… | |
… | |
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_inheritpixmap = xyes; then |
|
|
110 | support_inheritpixmap=no |
|
|
111 | echo "******* transparency support disabled, does not work" |
|
|
112 | fi |
|
|
113 | if test x$support_xpm = xyes; then |
|
|
114 | support_xpm=no |
|
|
115 | echo "******* pixmap support disabled, does not work" |
|
|
116 | fi |
|
|
117 | if test x$support_menubar = xyes; then |
|
|
118 | support_menubar=no |
|
|
119 | echo "******* menubar support disabled, does not work" |
|
|
120 | fi |
|
|
121 | echo |
|
|
122 | |
|
|
123 | AC_ARG_ENABLE(unicode3, |
110 | AC_ARG_ENABLE(unicode3, |
124 | [ --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], |
125 | [if test x$enableval = xyes; then |
112 | [if test x$enableval = xyes -o x$enableval = xno; then |
126 | support_unicode3=yes |
113 | support_unicode3=yes |
127 | fi]) |
114 | fi]) |
128 | |
115 | |
129 | AC_ARG_ENABLE(xft, |
116 | AC_ARG_ENABLE(xft, |
130 | [ --enable-xft enable xft support on systems that have it], |
117 | [ --enable-xft enable xft support on systems that have it], |
131 | [if test x$enableval = xyes; then |
118 | [if test x$enableval = xyes -o x$enableval = xno; then |
132 | support_xft=yes |
119 | support_xft=yes |
133 | fi]) |
120 | fi]) |
134 | |
121 | |
135 | AC_ARG_WITH(codesets, |
122 | AC_ARG_WITH(codesets, |
136 | [ --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)], |
137 | [if test x$enableval = xyes; then |
|
|
138 | codesets="$withval" |
124 | [codesets="$withval"]) |
139 | fi]) |
|
|
140 | |
|
|
141 | AC_ARG_WITH(encoding, |
|
|
142 | [ --with-encoding=NAME set language default encoding to NAME (default: sjis) |
|
|
143 | (eucj|sjis|big5|gb|kr|noenc)], |
|
|
144 | [if test x$enableval = xyes; then |
|
|
145 | withval=`echo $withval | tr '[a-z]' '[A-Z]'` |
|
|
146 | AC_DEFINE_UNQUOTED(MULTICHAR_ENCODING, $withval, Define default multichar glyph encoding) |
|
|
147 | fi]) |
|
|
148 | |
125 | |
149 | AC_ARG_ENABLE(utmp, |
126 | AC_ARG_ENABLE(utmp, |
150 | [ --enable-utmp enable utmp (utmpx) support], |
127 | [ --enable-utmp enable utmp (utmpx) support], |
151 | [if test x$enableval = xyes -o x$enableval = xno; then |
128 | [if test x$enableval = xyes -o x$enableval = xno; then |
152 | support_utmp=$enableval |
129 | support_utmp=$enableval |
… | |
… | |
196 | |
173 | |
197 | AC_ARG_ENABLE(xterm-scroll, |
174 | AC_ARG_ENABLE(xterm-scroll, |
198 | [ --enable-xterm-scroll enable Xterm style scrollbar], |
175 | [ --enable-xterm-scroll enable Xterm style scrollbar], |
199 | [if test x$enableval = xyes -o x$enableval = xno; then |
176 | [if test x$enableval = xyes -o x$enableval = xno; then |
200 | 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 |
201 | fi]) |
184 | fi]) |
202 | |
185 | |
203 | AC_ARG_ENABLE(half-shadow, |
186 | AC_ARG_ENABLE(half-shadow, |
204 | [ --enable-half-shadow use half width/height shadow on rxvt scrollbar], |
187 | [ --enable-half-shadow use half width/height shadow on rxvt scrollbar], |
205 | [if test x$enableval = xyes; then |
188 | [if test x$enableval = xyes; then |
… | |
… | |
208 | |
191 | |
209 | AC_ARG_ENABLE(xim, |
192 | AC_ARG_ENABLE(xim, |
210 | [ --enable-xim XIM (X Input Method) protocol support], |
193 | [ --enable-xim XIM (X Input Method) protocol support], |
211 | [if test x$enableval = xyes -o x$enableval = xno; then |
194 | [if test x$enableval = xyes -o x$enableval = xno; then |
212 | support_xim=$enableval |
195 | support_xim=$enableval |
213 | fi]) |
|
|
214 | |
|
|
215 | AC_ARG_ENABLE(greek, |
|
|
216 | [ --enable-greek enable greek keyboard support], |
|
|
217 | [if test x$enableval = xyes; then |
|
|
218 | AC_DEFINE(GREEK_SUPPORT, 1, Define if you want support for Greek Elot-928 & IBM-437 keyboard) |
|
|
219 | fi]) |
196 | fi]) |
220 | |
197 | |
221 | AC_ARG_ENABLE(ttygid, |
198 | AC_ARG_ENABLE(ttygid, |
222 | [ --enable-ttygid enable tty setting to group named "tty"], |
199 | [ --enable-ttygid enable tty setting to group named "tty"], |
223 | [if test x$enableval = xyes; then |
200 | [if test x$enableval = xyes; then |
… | |
… | |
362 | [if test x$enableval = xyes -o x$enableval = xno; then |
339 | [if test x$enableval = xyes -o x$enableval = xno; then |
363 | support_pointer_blank=$enableval |
340 | support_pointer_blank=$enableval |
364 | fi]) |
341 | fi]) |
365 | |
342 | |
366 | AC_ARG_WITH(term, |
343 | AC_ARG_WITH(term, |
367 | [ --with-term=NAME set the terminal to NAME (default \"xterm\")], |
344 | [ --with-term=NAME set the terminal to NAME (default \"rxvt\")], |
368 | [if test x$withval != x; then |
345 | [if test x$withval != x; then |
369 | 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" |
370 | fi]) |
347 | fi]) |
371 | |
348 | |
372 | AC_ARG_WITH(terminfo, |
349 | AC_ARG_WITH(terminfo, |
… | |
… | |
1186 | fi |
1163 | fi |
1187 | if test x$support_scroll_xterm = xyes; then |
1164 | if test x$support_scroll_xterm = xyes; then |
1188 | AC_DEFINE(XTERM_SCROLLBAR, 1, Support Xterm style scrollbars) |
1165 | AC_DEFINE(XTERM_SCROLLBAR, 1, Support Xterm style scrollbars) |
1189 | scrolltypes="$scrolltypes xterm" |
1166 | scrolltypes="$scrolltypes xterm" |
1190 | 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 |
1191 | if test x$support_pointer_blank = xyes; then |
1172 | if test x$support_pointer_blank = xyes; then |
1192 | 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) |
1193 | fi |
1174 | fi |
1194 | if test x$support_cursor_blink = xyes; then |
1175 | if test x$support_cursor_blink = xyes; then |
1195 | 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) |
… | |
… | |
1202 | fi |
1183 | fi |
1203 | if test x$codesets = xall; then |
1184 | if test x$codesets = xall; then |
1204 | codesets=jp,jp-ext,kr,cn,cn-ext,vn |
1185 | codesets=jp,jp-ext,kr,cn,cn-ext,vn |
1205 | fi |
1186 | fi |
1206 | for codeset in `echo $codesets | tr "[a-z,\\-]" "[A-Z _]"`; do |
1187 | for codeset in `echo $codesets | tr "[a-z,\\-]" "[A-Z _]"`; do |
1207 | AC_DEFINE(ENCODING_EU, 1, Define if you want europeean extended codesets) |
1188 | AC_DEFINE(ENCODING_EU, 1, Define if you want european extended codesets) |
1208 | case "$codeset" in |
1189 | case "$codeset" in |
1209 | VN ) AC_DEFINE(ENCODING_VN, 1, Define if you want vietnamese codesets) ;; |
1190 | VN ) AC_DEFINE(ENCODING_VN, 1, Define if you want vietnamese codesets) ;; |
1210 | JP ) AC_DEFINE(ENCODING_JP, 1, Define if you want japanese codesets) ;; |
1191 | JP ) AC_DEFINE(ENCODING_JP, 1, Define if you want japanese codesets) ;; |
1211 | JP_EXT ) AC_DEFINE(ENCODING_JP_EXT, 1, Define if you want extended japanese codesets) ;; |
1192 | JP_EXT ) AC_DEFINE(ENCODING_JP_EXT, 1, Define if you want extended japanese codesets) ;; |
1212 | KR ) AC_DEFINE(ENCODING_KR, 1, Define if you want korean codesets) ;; |
1193 | KR ) AC_DEFINE(ENCODING_KR, 1, Define if you want korean codesets) ;; |