… | |
… | |
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], |
… | |
… | |
323 | |
325 | |
324 | AC_ARG_ENABLE(swapscreen, |
326 | AC_ARG_ENABLE(swapscreen, |
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) |
|
|
330 | fi]) |
|
|
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 |
328 | fi]) |
336 | fi]) |
329 | |
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 |
… | |
… | |
501 | sys/byteorder.h \ |
509 | sys/byteorder.h \ |
502 | sys/ioctl.h \ |
510 | sys/ioctl.h \ |
503 | sys/select.h \ |
511 | sys/select.h \ |
504 | sys/sockio.h \ |
512 | sys/sockio.h \ |
505 | sys/strredir.h \ |
513 | sys/strredir.h \ |
|
|
514 | sys/stropts.h \ |
506 | sys/time.h \ |
515 | sys/time.h \ |
507 | utmp.h \ |
516 | utmp.h \ |
508 | utmpx.h \ |
517 | utmpx.h \ |
509 | stdint.h \ |
518 | stdint.h \ |
510 | ) |
519 | ) |
… | |
… | |
581 | AC_TYPE_MODE_T |
590 | AC_TYPE_MODE_T |
582 | dnl> AC_CHECK_TYPE(umode_t, int) |
591 | dnl> AC_CHECK_TYPE(umode_t, int) |
583 | dnl> AC_CHECK_TYPE(off_t, long) |
592 | dnl> AC_CHECK_TYPE(off_t, long) |
584 | AC_TYPE_PID_T |
593 | AC_TYPE_PID_T |
585 | AC_TYPE_UID_T |
594 | AC_TYPE_UID_T |
586 | |
|
|
587 | |
595 | |
588 | AC_CHECK_SIZEOF(char, 1) |
596 | AC_CHECK_SIZEOF(char, 1) |
589 | AC_CHECK_SIZEOF(short, 2) |
597 | AC_CHECK_SIZEOF(short, 2) |
590 | AC_CHECK_SIZEOF(int, 4) |
598 | AC_CHECK_SIZEOF(int, 4) |
591 | AC_CHECK_SIZEOF(long, 4) |
599 | AC_CHECK_SIZEOF(long, 4) |
… | |
… | |
1170 | fi |
1178 | fi |
1171 | |
1179 | |
1172 | dnl# -------------------------------------------------------------------------- |
1180 | dnl# -------------------------------------------------------------------------- |
1173 | dnl# now add and remove other stuff |
1181 | dnl# now add and remove other stuff |
1174 | dnl# -------------------------------------------------------------------------- |
1182 | dnl# -------------------------------------------------------------------------- |
|
|
1183 | if test x$support_iso14755 = xyes; then |
|
|
1184 | AC_DEFINE(ISO_14755, 1, Define if you want ISO 14755 extended support) |
|
|
1185 | fi |
1175 | if test x$support_8bitctrls = xyes; then |
1186 | if test x$support_8bitctrls = xyes; then |
1176 | AC_DEFINE(EIGHT_BIT_CONTROLS, 1, Define if you want 8 bit control sequences) |
1187 | AC_DEFINE(EIGHT_BIT_CONTROLS, 1, Define if you want 8 bit control sequences) |
1177 | fi |
1188 | fi |
1178 | if test x$support_fading = xyes; then |
1189 | if test x$support_fading = xyes; then |
1179 | AC_DEFINE(OFF_FOCUS_FADING, 1, Define if you want faded colors when focus is lost) |
1190 | AC_DEFINE(OFF_FOCUS_FADING, 1, Define if you want faded colors when focus is lost) |
… | |
… | |
1191 | AC_DEFINE(SELECTION_SCROLLING, 1, Define to allow scrolling when the selection moves to the top or bottom of the screen) |
1202 | AC_DEFINE(SELECTION_SCROLLING, 1, Define to allow scrolling when the selection moves to the top or bottom of the screen) |
1192 | fi |
1203 | fi |
1193 | if test x$support_menubar = xyes; then |
1204 | if test x$support_menubar = xyes; then |
1194 | AC_DEFINE(MENUBAR, 1, Define if you want Menubar support) |
1205 | AC_DEFINE(MENUBAR, 1, Define if you want Menubar support) |
1195 | fi |
1206 | fi |
1196 | if test x$support_frills = xno; then |
1207 | if test x$support_frills = xyes; then |
1197 | AC_DEFINE(NO_FRILLS, 1, Define if you don't want handling for rarely used features) |
1208 | AC_DEFINE(ENABLE_FRILLS, 1, Define if you want handling for rarely used but handy features) |
1198 | fi |
1209 | fi |
1199 | if test x$support_linespace = xno; then |
1210 | if test x$support_linespace = xno; then |
1200 | AC_DEFINE(NO_LINESPACE, 1, Define if you don't want support linespace) |
1211 | AC_DEFINE(NO_LINESPACE, 1, Define if you don't want support linespace) |
1201 | fi |
1212 | fi |
1202 | if test x$support_24bit = xyes; then |
1213 | if test x$support_24bit = xyes; then |
… | |
… | |
1257 | AC_DEFINE(ENABLE_COMBINING, 1, Define if you want to automatically compose combining characters) |
1268 | AC_DEFINE(ENABLE_COMBINING, 1, Define if you want to automatically compose combining characters) |
1258 | fi |
1269 | fi |
1259 | if test x$codesets = xall; then |
1270 | if test x$codesets = xall; then |
1260 | codesets=jp,jp-ext,kr,cn,cn-ext |
1271 | codesets=jp,jp-ext,kr,cn,cn-ext |
1261 | fi |
1272 | fi |
|
|
1273 | AC_DEFINE(ENCODING_EU, 1, Define if you want european extended codesets) |
|
|
1274 | AC_DEFINE(ENCODING_VN, 1, Define if you want vietnamese codesets) |
1262 | for codeset in `echo $codesets | tr "[a-z,\\-]" "[A-Z _]"`; do |
1275 | for codeset in `echo $codesets | tr "[a-z,\\-]" "[A-Z _]"`; do |
1263 | AC_DEFINE(ENCODING_EU, 1, Define if you want european extended codesets) |
|
|
1264 | AC_DEFINE(ENCODING_VN, 1, Define if you want vietnamese codesets) |
|
|
1265 | case "$codeset" in |
1276 | case "$codeset" in |
1266 | JP ) AC_DEFINE(ENCODING_JP, 1, Define if you want japanese codesets) ;; |
1277 | JP ) AC_DEFINE(ENCODING_JP, 1, Define if you want japanese codesets) ;; |
1267 | JP_EXT ) AC_DEFINE(ENCODING_JP_EXT, 1, Define if you want extended japanese codesets) ;; |
1278 | JP_EXT ) AC_DEFINE(ENCODING_JP_EXT, 1, Define if you want extended japanese codesets) ;; |
1268 | KR ) AC_DEFINE(ENCODING_KR, 1, Define if you want korean codesets) ;; |
1279 | KR ) AC_DEFINE(ENCODING_KR, 1, Define if you want korean codesets) ;; |
1269 | CN ) AC_DEFINE(ENCODING_CN, 1, Define if you want chinese codesets) ;; |
1280 | CN ) AC_DEFINE(ENCODING_CN, 1, Define if you want chinese codesets) ;; |