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.31 by root, Tue Aug 10 22:36:30 2004 UTC vs.
Revision 1.35 by root, Tue Aug 17 09:16:40 2004 UTC

91support_xpm=no 91support_xpm=no
92support_xft=no 92support_xft=no
93support_unicode3=no 93support_unicode3=no
94support_combining=no 94support_combining=no
95support_8bitctrls=no 95support_8bitctrls=no
96support_iso14755=no
96codesets= 97codesets=
97 98
98dnl# -------------------------------------------------------------------------- 99dnl# --------------------------------------------------------------------------
99dnl# CHECKING COMMAND LINE OPTIONS 100dnl# CHECKING COMMAND LINE OPTIONS
100dnl# -------------------------------------------------------------------------- 101dnl# --------------------------------------------------------------------------
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
143AC_ARG_ENABLE(unicode3, 145AC_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
332AC_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
330AC_ARG_ENABLE(frills, 338AC_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
391AC_ARG_ENABLE(smart-resize, 399AC_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
397AC_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
403AC_ARG_ENABLE(cursor-blink, 405AC_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
455AC_PATH_PROG(LN, ln, ln) 457AC_PATH_PROG(LN, ln, ln)
456AC_PATH_PROG(SED, sed, sed) 458AC_PATH_PROG(SED, sed, sed)
457AC_PATH_PROG(ECHO, echo, echo) 459AC_PATH_PROG(ECHO, echo, echo)
458AC_PATH_PROG(CMP, cmp, cmp) 460AC_PATH_PROG(CMP, cmp, cmp)
459AC_PATH_PROG(TBL, tbl) 461AC_PATH_PROG(TBL, tbl)
462AC_PATH_PROG(TIC, tic)
460 463
461dnl# need a neat way to detect SVR4 or its features 464dnl# need a neat way to detect SVR4 or its features
462dnl# in src/command.c we use these functions: 465dnl# in src/command.c we use these functions:
463dnl# grantpt(), unlockpt(), ptsname(), which are defined in <sys/ptms.h> 466dnl# grantpt(), unlockpt(), ptsname(), which are defined in <sys/ptms.h>
464dnl# - but are these also defined for other systems? 467dnl# - but are these also defined for other systems?
501 sys/byteorder.h \ 504 sys/byteorder.h \
502 sys/ioctl.h \ 505 sys/ioctl.h \
503 sys/select.h \ 506 sys/select.h \
504 sys/sockio.h \ 507 sys/sockio.h \
505 sys/strredir.h \ 508 sys/strredir.h \
509 sys/stropts.h \
506 sys/time.h \ 510 sys/time.h \
507 utmp.h \ 511 utmp.h \
508 utmpx.h \ 512 utmpx.h \
509 stdint.h \ 513 stdint.h \
510) 514)
581AC_TYPE_MODE_T 585AC_TYPE_MODE_T
582dnl> AC_CHECK_TYPE(umode_t, int) 586dnl> AC_CHECK_TYPE(umode_t, int)
583dnl> AC_CHECK_TYPE(off_t, long) 587dnl> AC_CHECK_TYPE(off_t, long)
584AC_TYPE_PID_T 588AC_TYPE_PID_T
585AC_TYPE_UID_T 589AC_TYPE_UID_T
586
587 590
588AC_CHECK_SIZEOF(char, 1) 591AC_CHECK_SIZEOF(char, 1)
589AC_CHECK_SIZEOF(short, 2) 592AC_CHECK_SIZEOF(short, 2)
590AC_CHECK_SIZEOF(int, 4) 593AC_CHECK_SIZEOF(int, 4)
591AC_CHECK_SIZEOF(long, 4) 594AC_CHECK_SIZEOF(long, 4)
1170fi 1173fi
1171 1174
1172dnl# -------------------------------------------------------------------------- 1175dnl# --------------------------------------------------------------------------
1173dnl# now add and remove other stuff 1176dnl# now add and remove other stuff
1174dnl# -------------------------------------------------------------------------- 1177dnl# --------------------------------------------------------------------------
1178if test x$support_iso14755 = xyes; then
1179 AC_DEFINE(ISO_14755, 1, Define if you want ISO 14755 extended support)
1180fi
1175if test x$support_8bitctrls = xyes; then 1181if test x$support_8bitctrls = xyes; then
1176 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)
1177fi 1183fi
1178if test x$support_fading = xyes; then 1184if test x$support_fading = xyes; then
1179 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)
1191 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)
1192fi 1198fi
1193if test x$support_menubar = xyes; then 1199if test x$support_menubar = xyes; then
1194 AC_DEFINE(MENUBAR, 1, Define if you want Menubar support) 1200 AC_DEFINE(MENUBAR, 1, Define if you want Menubar support)
1195fi 1201fi
1196if test x$support_frills = xno; then 1202if test x$support_frills = xyes; then
1197 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)
1198fi 1204fi
1199if test x$support_linespace = xno; then 1205if test x$support_linespace = xno; then
1200 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)
1201fi 1207fi
1202if test x$support_24bit = xyes; then 1208if test x$support_24bit = xyes; then
1257 AC_DEFINE(ENABLE_COMBINING, 1, Define if you want to automatically compose combining characters) 1263 AC_DEFINE(ENABLE_COMBINING, 1, Define if you want to automatically compose combining characters)
1258fi 1264fi
1259if test x$codesets = xall; then 1265if test x$codesets = xall; then
1260 codesets=jp,jp-ext,kr,cn,cn-ext 1266 codesets=jp,jp-ext,kr,cn,cn-ext
1261fi 1267fi
1268AC_DEFINE(ENCODING_EU, 1, Define if you want european extended codesets)
1269AC_DEFINE(ENCODING_VN, 1, Define if you want vietnamese codesets)
1262for codeset in `echo $codesets | tr "[a-z,\\-]" "[A-Z _]"`; do 1270for 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 1271 case "$codeset" in
1266 JP ) AC_DEFINE(ENCODING_JP, 1, Define if you want japanese codesets) ;; 1272 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) ;; 1273 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) ;; 1274 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) ;; 1275 CN ) AC_DEFINE(ENCODING_CN, 1, Define if you want chinese codesets) ;;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines