ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/autoconf/configure.in
(Generate patch)

Comparing rxvt-unicode/autoconf/configure.in (file contents):
Revision 1.6 by pcg, Thu Jan 29 21:34:14 2004 UTC vs.
Revision 1.14 by pcg, Wed Feb 25 12:03:47 2004 UTC

1dnl# -*- sh -*- 1dnl# -*- sh -*-
2dnl#
3dnl# $Id: configure.in,v 1.6 2004/01/29 21:34:14 pcg Exp $
4dnl# 2dnl#
5dnl# Process this file with autoconf to produce a configure script. 3dnl# Process this file with autoconf to produce a configure script.
6dnl# 4dnl#
7AC_INIT(src/feature.h) 5AC_INIT(src/feature.h)
8AC_CONFIG_AUX_DIR(autoconf) 6AC_CONFIG_AUX_DIR(autoconf)
58support_text_blink=no 56support_text_blink=no
59support_pointer_blank=no 57support_pointer_blank=no
60support_scroll_rxvt=no 58support_scroll_rxvt=no
61support_scroll_next=no 59support_scroll_next=no
62support_scroll_xterm=no 60support_scroll_xterm=no
61support_scroll_plain=no
63support_xim=no 62support_xim=no
64support_xpm=no 63support_xpm=no
65support_xft=no 64support_xft=no
66support_unicode3=no 65support_unicode3=no
67codesets= 66codesets=
96 support_text_blink=yes 95 support_text_blink=yes
97 support_pointer_blank=yes 96 support_pointer_blank=yes
98 support_scroll_rxvt=yes 97 support_scroll_rxvt=yes
99 support_scroll_next=yes 98 support_scroll_next=yes
100 support_scroll_xterm=yes 99 support_scroll_xterm=yes
100 support_scroll_plain=yes
101 support_utmp=yes 101 support_utmp=yes
102 support_wtmp=yes 102 support_wtmp=yes
103 support_xim=yes 103 support_xim=yes
104 support_xpm=yes 104 support_xpm=yes
105 support_xft=yes 105 support_xft=yes
106 support_unicode3=yes 106 support_unicode3=yes
107 codesets=all 107 codesets=all
108 fi]) 108 fi])
109 109
110echo
111if test x$support_inheritpixmap = xyes; then
112 support_inheritpixmap=no
113 echo "******* transparency support disabled, does not work"
114fi
115if test x$support_xpm = xyes; then
116 support_xpm=no
117 echo "******* pixmap support disabled, does not work"
118fi
119if test x$support_menubar = xyes; then
120 support_menubar=no
121 echo "******* menubar support disabled, does not work"
122fi
123echo
124
125AC_ARG_ENABLE(unicode3, 110AC_ARG_ENABLE(unicode3,
126 [ --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],
127 [if test x$enableval = xyes; then 112 [if test x$enableval = xyes; then
128 support_unicode3=yes 113 support_unicode3=yes
129 fi]) 114 fi])
147 withval=`echo $withval | tr '[a-z]' '[A-Z]'` 132 withval=`echo $withval | tr '[a-z]' '[A-Z]'`
148 AC_DEFINE_UNQUOTED(MULTICHAR_ENCODING, $withval, Define default multichar glyph encoding) 133 AC_DEFINE_UNQUOTED(MULTICHAR_ENCODING, $withval, Define default multichar glyph encoding)
149 fi]) 134 fi])
150 135
151AC_ARG_ENABLE(utmp, 136AC_ARG_ENABLE(utmp,
152 [ --enable-utmp enable utmp (utmpx) support *], 137 [ --enable-utmp enable utmp (utmpx) support],
153 [if test x$enableval = xyes -o x$enableval = xno; then 138 [if test x$enableval = xyes -o x$enableval = xno; then
154 support_utmp=$enableval 139 support_utmp=$enableval
155 fi]) 140 fi])
156 141
157AC_ARG_ENABLE(wtmp, 142AC_ARG_ENABLE(wtmp,
158 [ --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)*], 143 [ --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)],
159 [if test x$enableval = xyes -o x$enableval = xno; then 144 [if test x$enableval = xyes -o x$enableval = xno; then
160 support_wtmp=$enableval 145 support_wtmp=$enableval
161 fi]) 146 fi])
162 147
163AC_ARG_ENABLE(lastlog, 148AC_ARG_ENABLE(lastlog,
164 [ --enable-lastlog enable lastlog support (requires --enable-utmp) *], 149 [ --enable-lastlog enable lastlog support (requires --enable-utmp)],
165 [if test x$enableval = xyes -o x$enableval = xno; then 150 [if test x$enableval = xyes -o x$enableval = xno; then
166 support_lastlog=$enableval 151 support_lastlog=$enableval
167 fi]) 152 fi])
168 153
169AC_ARG_ENABLE(xpm-background, 154AC_ARG_ENABLE(xpm-background,
170 [ --enable-xpm-background enable XPM background pixmaps *], 155 [ --enable-xpm-background enable XPM background pixmaps],
171 [if test x$enableval = xyes -o x$enableval = xno; then 156 [if test x$enableval = xyes -o x$enableval = xno; then
172 support_xpm=$enableval 157 support_xpm=$enableval
173 fi]) 158 fi])
174 159
175AC_ARG_ENABLE(transparency, 160AC_ARG_ENABLE(transparency,
176 [ --enable-transparency enable transparent backgrounds *], 161 [ --enable-transparency enable transparent backgrounds],
177 [if test x$enableval = xyes -o x$enableval = xno; then 162 [if test x$enableval = xyes -o x$enableval = xno; then
178 support_inheritpixmap=$enableval 163 support_inheritpixmap=$enableval
179 fi]) 164 fi])
180 165
181AC_ARG_ENABLE(menubar, 166AC_ARG_ENABLE(menubar,
182 [ --enable-menubar enable menubar *], 167 [ --enable-menubar enable menubar],
183 [if test x$enableval = xyes -o x$enableval = xno; then 168 [if test x$enableval = xyes -o x$enableval = xno; then
184 support_menubar=$enableval 169 support_menubar=$enableval
185 fi]) 170 fi])
186 171
187AC_ARG_ENABLE(rxvt-scroll, 172AC_ARG_ENABLE(rxvt-scroll,
188 [ --enable-rxvt-scroll enable rxvt style scrollbar *], 173 [ --enable-rxvt-scroll enable rxvt style scrollbar],
189 [if test x$enableval = xyes -o x$enableval = xno; then 174 [if test x$enableval = xyes -o x$enableval = xno; then
190 support_scroll_rxvt=$enableval 175 support_scroll_rxvt=$enableval
191 fi]) 176 fi])
192 177
193AC_ARG_ENABLE(next-scroll, 178AC_ARG_ENABLE(next-scroll,
194 [ --enable-next-scroll enable NeXT style scrollbar *], 179 [ --enable-next-scroll enable NeXT style scrollbar],
195 [if test x$enableval = xyes -o x$enableval = xno; then 180 [if test x$enableval = xyes -o x$enableval = xno; then
196 support_scroll_next=$enableval 181 support_scroll_next=$enableval
197 fi]) 182 fi])
198 183
199AC_ARG_ENABLE(xterm-scroll, 184AC_ARG_ENABLE(xterm-scroll,
200 [ --enable-xterm-scroll enable Xterm style scrollbar *], 185 [ --enable-xterm-scroll enable Xterm style scrollbar],
201 [if test x$enableval = xyes -o x$enableval = xno; then 186 [if test x$enableval = xyes -o x$enableval = xno; then
202 support_scroll_xterm=$enableval 187 support_scroll_xterm=$enableval
188 fi])
189
190AC_ARG_ENABLE(plain-scroll,
191 [ --enable-plain-scroll enable plain style scrollbar],
192 [if test x$enableval = xyes -o x$enableval = xno; then
193 support_scroll_plain=$enableval
203 fi]) 194 fi])
204 195
205AC_ARG_ENABLE(half-shadow, 196AC_ARG_ENABLE(half-shadow,
206 [ --enable-half-shadow use half width/height shadow on rxvt scrollbar], 197 [ --enable-half-shadow use half width/height shadow on rxvt scrollbar],
207 [if test x$enableval = xyes; then 198 [if test x$enableval = xyes; then
208 AC_DEFINE(HALFSHADOW, 1, Define if you want the depth of scrollbars and menus to be less) 199 AC_DEFINE(HALFSHADOW, 1, Define if you want the depth of scrollbars and menus to be less)
209 fi]) 200 fi])
210 201
211AC_ARG_ENABLE(xim, 202AC_ARG_ENABLE(xim,
212 [ --enable-xim XIM (X Input Method) protocol support *], 203 [ --enable-xim XIM (X Input Method) protocol support],
213 [if test x$enableval = xyes -o x$enableval = xno; then 204 [if test x$enableval = xyes -o x$enableval = xno; then
214 support_xim=$enableval 205 support_xim=$enableval
215 fi])
216
217AC_ARG_ENABLE(greek,
218 [ --enable-greek enable greek keyboard support],
219 [if test x$enableval = xyes; then
220 AC_DEFINE(GREEK_SUPPORT, 1, Define if you want support for Greek Elot-928 & IBM-437 keyboard)
221 fi]) 206 fi])
222 207
223AC_ARG_ENABLE(ttygid, 208AC_ARG_ENABLE(ttygid,
224 [ --enable-ttygid enable tty setting to group named "tty"], 209 [ --enable-ttygid enable tty setting to group named "tty"],
225 [if test x$enableval = xyes; then 210 [if test x$enableval = xyes; then
261 [if test x$enableval = xno; then 246 [if test x$enableval = xno; then
262 AC_DEFINE(NO_SECONDARY_SCREEN, 1, Disable the secondary screen. Many programs use the secondary screen as their workplace) 247 AC_DEFINE(NO_SECONDARY_SCREEN, 1, Disable the secondary screen. Many programs use the secondary screen as their workplace)
263 fi]) 248 fi])
264 249
265AC_ARG_ENABLE(frills, 250AC_ARG_ENABLE(frills,
266 [ --enable-frills enable support for rarely used features *], 251 [ --enable-frills enable support for rarely used features],
267 [if test x$enableval = xyes -o x$enableval = xno; then 252 [if test x$enableval = xyes -o x$enableval = xno; then
268 support_frills=$enableval 253 support_frills=$enableval
269 fi]) 254 fi])
270 255
271AC_ARG_ENABLE(linespace, 256AC_ARG_ENABLE(linespace,
272 [ --enable-linespace enable support for linespace *], 257 [ --enable-linespace enable support for linespace],
273 [if test x$enableval = xyes -o x$enableval = xno; then 258 [if test x$enableval = xyes -o x$enableval = xno; then
274 support_linespace=$enableval 259 support_linespace=$enableval
275 fi]) 260 fi])
276 261
277AC_ARG_ENABLE(24bit, 262AC_ARG_ENABLE(24bit,
278 [ --enable-24bit enable support for using 24bit visuals if available *], 263 [ --enable-24bit enable support for using 24bit visuals if available],
279 [if test x$enableval = xyes -o x$enableval = xno; then 264 [if test x$enableval = xyes -o x$enableval = xno; then
280 support_24bit=$enableval 265 support_24bit=$enableval
281 fi]) 266 fi])
282 267
283AC_ARG_ENABLE(keepscrolling, 268AC_ARG_ENABLE(keepscrolling,
284 [ --enable-keepscrolling enable continual scrolling on scrollbar arrow press *], 269 [ --enable-keepscrolling enable continual scrolling on scrollbar arrow press],
285 [if test x$enableval = xyes -o x$enableval = xno; then 270 [if test x$enableval = xyes -o x$enableval = xno; then
286 support_keepscrolling=$enableval 271 support_keepscrolling=$enableval
287 fi]) 272 fi])
288 273
289AC_ARG_ENABLE(selectionscrolling, 274AC_ARG_ENABLE(selectionscrolling,
290 [ --enable-selectionscrolling enable scrolling during selections *], 275 [ --enable-selectionscrolling enable scrolling during selections],
291 [if test x$enableval = xyes -o x$enableval = xno; then 276 [if test x$enableval = xyes -o x$enableval = xno; then
292 support_selectionscrolling=$enableval 277 support_selectionscrolling=$enableval
293 fi]) 278 fi])
294 279
295AC_ARG_ENABLE(mousewheel, 280AC_ARG_ENABLE(mousewheel,
296 [ --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 *], 281 [ --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5],
297 [if test x$enableval = xyes -o x$enableval = xno; then 282 [if test x$enableval = xyes -o x$enableval = xno; then
298 support_mousewheel=$enableval 283 support_mousewheel=$enableval
299 fi]) 284 fi])
300 285
301AC_ARG_ENABLE(slipwheeling, 286AC_ARG_ENABLE(slipwheeling,
302 [ --enable-slipwheeling enable slip wheel scrolling (requires previous) *], 287 [ --enable-slipwheeling enable slip wheel scrolling (requires previous)],
303 [if test x$enableval = xyes -o x$enableval = xno; then 288 [if test x$enableval = xyes -o x$enableval = xno; then
304 support_mouseslipwheel=$enableval 289 support_mouseslipwheel=$enableval
305 fi]) 290 fi])
306 291
307AC_ARG_ENABLE(old-selection, 292AC_ARG_ENABLE(old-selection,
308 [ --enable-old-selection enable v2.20 (& prior) mouse selection style support*], 293 [ --enable-old-selection enable v2.20 (& prior) mouse selection style support],
309 [if test x$enableval = xyes -o x$enableval = xno; then 294 [if test x$enableval = xyes -o x$enableval = xno; then
310 support_oldselection=$enableval 295 support_oldselection=$enableval
311 fi]) 296 fi])
312 297
313AC_ARG_ENABLE(new-selection, 298AC_ARG_ENABLE(new-selection,
352 [if test x$enableval = xyes -o x$enableval = xno; then 337 [if test x$enableval = xyes -o x$enableval = xno; then
353 support_cursor_blink=$enableval 338 support_cursor_blink=$enableval
354 fi]) 339 fi])
355 340
356AC_ARG_ENABLE(text-blink, 341AC_ARG_ENABLE(text-blink,
357 [ --enable-text-blink enable blinking text], 342 [ --enable-text-blink enable blinking text],
358 [if test x$enableval = xyes -o x$enableval = xno; then 343 [if test x$enableval = xyes -o x$enableval = xno; then
359 support_text_blink=$enableval 344 support_text_blink=$enableval
360 fi]) 345 fi])
361 346
362AC_ARG_ENABLE(pointer-blank, 347AC_ARG_ENABLE(pointer-blank,
364 [if test x$enableval = xyes -o x$enableval = xno; then 349 [if test x$enableval = xyes -o x$enableval = xno; then
365 support_pointer_blank=$enableval 350 support_pointer_blank=$enableval
366 fi]) 351 fi])
367 352
368AC_ARG_WITH(term, 353AC_ARG_WITH(term,
369 [ --with-term=NAME set the terminal to NAME (default \"xterm\")], 354 [ --with-term=NAME set the terminal to NAME (default \"rxvt\")],
370 [if test x$withval != x; then 355 [if test x$withval != x; then
371 AC_DEFINE_UNQUOTED(TERMENV, "$withval",Set TERM to the value given by configure) term="$withval" 356 AC_DEFINE_UNQUOTED(TERMENV, "$withval",Set TERM to the value given by configure) term="$withval"
372 fi]) 357 fi])
373 358
374AC_ARG_WITH(terminfo, 359AC_ARG_WITH(terminfo,
1188fi 1173fi
1189if test x$support_scroll_xterm = xyes; then 1174if test x$support_scroll_xterm = xyes; then
1190 AC_DEFINE(XTERM_SCROLLBAR, 1, Support Xterm style scrollbars) 1175 AC_DEFINE(XTERM_SCROLLBAR, 1, Support Xterm style scrollbars)
1191 scrolltypes="$scrolltypes xterm" 1176 scrolltypes="$scrolltypes xterm"
1192fi 1177fi
1178if test x$support_scroll_plain = xyes; then
1179 AC_DEFINE(PLAIN_SCROLLBAR, 1, Support plain style scrollbars)
1180 scrolltypes="$scrolltypes plain"
1181fi
1193if test x$support_pointer_blank = xyes; then 1182if test x$support_pointer_blank = xyes; then
1194 AC_DEFINE(POINTER_BLANK, 1, Define if you want hide the pointer while typing) 1183 AC_DEFINE(POINTER_BLANK, 1, Define if you want hide the pointer while typing)
1195fi 1184fi
1196if test x$support_cursor_blink = xyes; then 1185if test x$support_cursor_blink = xyes; then
1197 AC_DEFINE(CURSOR_BLINK, 1, Define if you want blinking cursor support) 1186 AC_DEFINE(CURSOR_BLINK, 1, Define if you want blinking cursor support)
1198fi 1187fi
1199if test x$support_test_blink = xyes; then 1188if test x$support_text_blink = xyes; then
1200 AC_DEFINE(TEXT_BLINK, 1, Define if you want blinking text support) 1189 AC_DEFINE(TEXT_BLINK, 1, Define if you want blinking text support)
1201fi 1190fi
1202if test x$support_unicode3 = xyes; then 1191if test x$support_unicode3 = xyes; then
1203 AC_DEFINE(UNICODE_3, 1, Define if you want to represent unicode characters outside plane 0) 1192 AC_DEFINE(UNICODE_3, 1, Define if you want to represent unicode characters outside plane 0)
1204fi 1193fi
1205if test x$codesets = xall; then 1194if test x$codesets = xall; then
1206 codesets=jp,jp-ext,kr,cn,cn-ext,vn 1195 codesets=jp,jp-ext,kr,cn,cn-ext,vn
1207fi 1196fi
1208for codeset in `echo $codesets | tr "[a-z,\\-]" "[A-Z _]"`; do 1197for codeset in `echo $codesets | tr "[a-z,\\-]" "[A-Z _]"`; do
1209 AC_DEFINE(ENCODING_EU, 1, Define if you want europeean extended codesets) 1198 AC_DEFINE(ENCODING_EU, 1, Define if you want european extended codesets)
1210 case "$codeset" in 1199 case "$codeset" in
1211 VN ) AC_DEFINE(ENCODING_VN, 1, Define if you want vietnamese codesets) ;; 1200 VN ) AC_DEFINE(ENCODING_VN, 1, Define if you want vietnamese codesets) ;;
1212 JP ) AC_DEFINE(ENCODING_JP, 1, Define if you want japanese codesets) ;; 1201 JP ) AC_DEFINE(ENCODING_JP, 1, Define if you want japanese codesets) ;;
1213 JP_EXT ) AC_DEFINE(ENCODING_JP_EXT, 1, Define if you want extended japanese codesets) ;; 1202 JP_EXT ) AC_DEFINE(ENCODING_JP_EXT, 1, Define if you want extended japanese codesets) ;;
1214 KR ) AC_DEFINE(ENCODING_KR, 1, Define if you want korean codesets) ;; 1203 KR ) AC_DEFINE(ENCODING_KR, 1, Define if you want korean codesets) ;;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines