… | |
… | |
91 | support_xpm=no |
91 | support_xpm=no |
92 | support_xft=no |
92 | support_xft=no |
93 | support_unicode3=no |
93 | support_unicode3=no |
94 | support_combining=no |
94 | support_combining=no |
95 | support_8bitctrls=no |
95 | support_8bitctrls=no |
|
|
96 | support_iso14755=no |
96 | codesets= |
97 | codesets= |
97 | |
98 | |
98 | dnl# -------------------------------------------------------------------------- |
99 | dnl# -------------------------------------------------------------------------- |
99 | dnl# CHECKING COMMAND LINE OPTIONS |
100 | dnl# CHECKING COMMAND LINE OPTIONS |
100 | dnl# -------------------------------------------------------------------------- |
101 | dnl# -------------------------------------------------------------------------- |
… | |
… | |
135 | support_xpm=yes |
136 | support_xpm=yes |
136 | support_xft=yes |
137 | support_xft=yes |
137 | support_unicode3=yes |
138 | support_unicode3=yes |
138 | support_combining=yes |
139 | support_combining=yes |
139 | #support_8bitctrls=yes |
140 | #support_8bitctrls=yes |
|
|
141 | support_iso14755=yes |
140 | codesets=all |
142 | codesets=all |
141 | fi]) |
143 | fi]) |
142 | |
144 | |
143 | AC_ARG_ENABLE(unicode3, |
145 | AC_ARG_ENABLE(unicode3, |
144 | [ --enable-unicode3 use 21 instead of 16 bits to represent unicode characters], |
146 | [ --enable-unicode3 use 21 instead of 16 bits to represent unicode characters], |
… | |
… | |
325 | [ --disable-swapscreen disable swap screen support], |
327 | [ --disable-swapscreen disable swap screen support], |
326 | [if test x$enableval = xno; then |
328 | [if test x$enableval = xno; then |
327 | AC_DEFINE(NO_SECONDARY_SCREEN, 1, Disable the secondary screen. Many programs use the secondary screen as their workplace) |
329 | AC_DEFINE(NO_SECONDARY_SCREEN, 1, Disable the secondary screen. Many programs use the secondary screen as their workplace) |
328 | fi]) |
330 | fi]) |
329 | |
331 | |
|
|
332 | AC_ARG_ENABLE(iso14755, |
|
|
333 | [ --enable-iso14755 enable support for extended ISO 14755 modes], |
|
|
334 | [if test x$enableval = xyes -o x$enableval = xno; then |
|
|
335 | support_iso14755=$enableval |
|
|
336 | fi]) |
|
|
337 | |
330 | AC_ARG_ENABLE(frills, |
338 | AC_ARG_ENABLE(frills, |
331 | [ --enable-frills enable support for rarely used features], |
339 | [ --enable-frills enable support for rarely used features], |
332 | [if test x$enableval = xyes -o x$enableval = xno; then |
340 | [if test x$enableval = xyes -o x$enableval = xno; then |
333 | support_frills=$enableval |
341 | support_frills=$enableval |
334 | fi]) |
342 | fi]) |
… | |
… | |
390 | |
398 | |
391 | AC_ARG_ENABLE(smart-resize, |
399 | AC_ARG_ENABLE(smart-resize, |
392 | [ --enable-smart-resize enable smart growth/shrink behaviour], |
400 | [ --enable-smart-resize enable smart growth/shrink behaviour], |
393 | [if test x$enableval = xyes; then |
401 | [if test x$enableval = xyes; then |
394 | AC_DEFINE(SMART_RESIZE, 1, Define to use "smart" resize behavior) |
402 | AC_DEFINE(SMART_RESIZE, 1, Define to use "smart" resize behavior) |
395 | fi]) |
|
|
396 | |
|
|
397 | AC_ARG_ENABLE(256-color, |
|
|
398 | [ --enable-256-color enable 256-color support], |
|
|
399 | [if test x$enableval = xyes; then |
|
|
400 | AC_DEFINE(TTY_256COLOR, 1, Define if you want 256 colour support) |
|
|
401 | fi]) |
403 | fi]) |
402 | |
404 | |
403 | AC_ARG_ENABLE(cursor-blink, |
405 | AC_ARG_ENABLE(cursor-blink, |
404 | [ --enable-cursor-blink enable blinking cursor], |
406 | [ --enable-cursor-blink enable blinking cursor], |
405 | [if test x$enableval = xyes -o x$enableval = xno; then |
407 | [if test x$enableval = xyes -o x$enableval = xno; then |
… | |
… | |
455 | AC_PATH_PROG(LN, ln, ln) |
457 | AC_PATH_PROG(LN, ln, ln) |
456 | AC_PATH_PROG(SED, sed, sed) |
458 | AC_PATH_PROG(SED, sed, sed) |
457 | AC_PATH_PROG(ECHO, echo, echo) |
459 | AC_PATH_PROG(ECHO, echo, echo) |
458 | AC_PATH_PROG(CMP, cmp, cmp) |
460 | AC_PATH_PROG(CMP, cmp, cmp) |
459 | AC_PATH_PROG(TBL, tbl) |
461 | AC_PATH_PROG(TBL, tbl) |
|
|
462 | AC_PATH_PROG(TIC, tic) |
460 | |
463 | |
461 | dnl# need a neat way to detect SVR4 or its features |
464 | dnl# need a neat way to detect SVR4 or its features |
462 | dnl# in src/command.c we use these functions: |
465 | dnl# in src/command.c we use these functions: |
463 | dnl# grantpt(), unlockpt(), ptsname(), which are defined in <sys/ptms.h> |
466 | dnl# grantpt(), unlockpt(), ptsname(), which are defined in <sys/ptms.h> |
464 | dnl# - but are these also defined for other systems? |
467 | dnl# - but are these also defined for other systems? |
… | |
… | |
582 | AC_TYPE_MODE_T |
585 | AC_TYPE_MODE_T |
583 | dnl> AC_CHECK_TYPE(umode_t, int) |
586 | dnl> AC_CHECK_TYPE(umode_t, int) |
584 | dnl> AC_CHECK_TYPE(off_t, long) |
587 | dnl> AC_CHECK_TYPE(off_t, long) |
585 | AC_TYPE_PID_T |
588 | AC_TYPE_PID_T |
586 | AC_TYPE_UID_T |
589 | AC_TYPE_UID_T |
587 | |
|
|
588 | |
590 | |
589 | AC_CHECK_SIZEOF(char, 1) |
591 | AC_CHECK_SIZEOF(char, 1) |
590 | AC_CHECK_SIZEOF(short, 2) |
592 | AC_CHECK_SIZEOF(short, 2) |
591 | AC_CHECK_SIZEOF(int, 4) |
593 | AC_CHECK_SIZEOF(int, 4) |
592 | AC_CHECK_SIZEOF(long, 4) |
594 | AC_CHECK_SIZEOF(long, 4) |
… | |
… | |
1171 | fi |
1173 | fi |
1172 | |
1174 | |
1173 | dnl# -------------------------------------------------------------------------- |
1175 | dnl# -------------------------------------------------------------------------- |
1174 | dnl# now add and remove other stuff |
1176 | dnl# now add and remove other stuff |
1175 | dnl# -------------------------------------------------------------------------- |
1177 | dnl# -------------------------------------------------------------------------- |
|
|
1178 | if test x$support_iso14755 = xyes; then |
|
|
1179 | AC_DEFINE(ISO_14755, 1, Define if you want ISO 14755 extended support) |
|
|
1180 | fi |
1176 | if test x$support_8bitctrls = xyes; then |
1181 | if test x$support_8bitctrls = xyes; then |
1177 | AC_DEFINE(EIGHT_BIT_CONTROLS, 1, Define if you want 8 bit control sequences) |
1182 | AC_DEFINE(EIGHT_BIT_CONTROLS, 1, Define if you want 8 bit control sequences) |
1178 | fi |
1183 | fi |
1179 | if test x$support_fading = xyes; then |
1184 | if test x$support_fading = xyes; then |
1180 | AC_DEFINE(OFF_FOCUS_FADING, 1, Define if you want faded colors when focus is lost) |
1185 | AC_DEFINE(OFF_FOCUS_FADING, 1, Define if you want faded colors when focus is lost) |
… | |
… | |
1192 | AC_DEFINE(SELECTION_SCROLLING, 1, Define to allow scrolling when the selection moves to the top or bottom of the screen) |
1197 | AC_DEFINE(SELECTION_SCROLLING, 1, Define to allow scrolling when the selection moves to the top or bottom of the screen) |
1193 | fi |
1198 | fi |
1194 | if test x$support_menubar = xyes; then |
1199 | if test x$support_menubar = xyes; then |
1195 | AC_DEFINE(MENUBAR, 1, Define if you want Menubar support) |
1200 | AC_DEFINE(MENUBAR, 1, Define if you want Menubar support) |
1196 | fi |
1201 | fi |
1197 | if test x$support_frills = xno; then |
1202 | if test x$support_frills = xyes; then |
1198 | AC_DEFINE(NO_FRILLS, 1, Define if you don't want handling for rarely used features) |
1203 | AC_DEFINE(ENABLE_FRILLS, 1, Define if you want handling for rarely used but handy features) |
1199 | fi |
1204 | fi |
1200 | if test x$support_linespace = xno; then |
1205 | if test x$support_linespace = xno; then |
1201 | AC_DEFINE(NO_LINESPACE, 1, Define if you don't want support linespace) |
1206 | AC_DEFINE(NO_LINESPACE, 1, Define if you don't want support linespace) |
1202 | fi |
1207 | fi |
1203 | if test x$support_24bit = xyes; then |
1208 | if test x$support_24bit = xyes; then |