--- rxvt-unicode/autoconf/configure.in 2004/08/10 22:36:30 1.31 +++ rxvt-unicode/autoconf/configure.in 2004/08/17 08:47:56 1.34 @@ -93,6 +93,7 @@ support_unicode3=no support_combining=no support_8bitctrls=no +support_iso14755=no codesets= dnl# -------------------------------------------------------------------------- @@ -137,6 +138,7 @@ support_unicode3=yes support_combining=yes #support_8bitctrls=yes + support_iso14755=yes codesets=all fi]) @@ -327,6 +329,12 @@ AC_DEFINE(NO_SECONDARY_SCREEN, 1, Disable the secondary screen. Many programs use the secondary screen as their workplace) fi]) +AC_ARG_ENABLE(iso14755, + [ --enable-iso14755 enable support for extended ISO 14755 modes], + [if test x$enableval = xyes -o x$enableval = xno; then + support_iso14755=$enableval + fi]) + AC_ARG_ENABLE(frills, [ --enable-frills enable support for rarely used features], [if test x$enableval = xyes -o x$enableval = xno; then @@ -394,12 +402,6 @@ AC_DEFINE(SMART_RESIZE, 1, Define to use "smart" resize behavior) fi]) -AC_ARG_ENABLE(256-color, - [ --enable-256-color enable 256-color support], - [if test x$enableval = xyes; then - AC_DEFINE(TTY_256COLOR, 1, Define if you want 256 colour support) - fi]) - AC_ARG_ENABLE(cursor-blink, [ --enable-cursor-blink enable blinking cursor], [if test x$enableval = xyes -o x$enableval = xno; then @@ -503,6 +505,7 @@ sys/select.h \ sys/sockio.h \ sys/strredir.h \ + sys/stropts.h \ sys/time.h \ utmp.h \ utmpx.h \ @@ -584,7 +587,6 @@ AC_TYPE_PID_T AC_TYPE_UID_T - AC_CHECK_SIZEOF(char, 1) AC_CHECK_SIZEOF(short, 2) AC_CHECK_SIZEOF(int, 4) @@ -1172,6 +1174,9 @@ dnl# -------------------------------------------------------------------------- dnl# now add and remove other stuff dnl# -------------------------------------------------------------------------- +if test x$support_iso14755 = xyes; then + AC_DEFINE(ISO_14755, 1, Define if you want ISO 14755 extended support) +fi if test x$support_8bitctrls = xyes; then AC_DEFINE(EIGHT_BIT_CONTROLS, 1, Define if you want 8 bit control sequences) fi @@ -1193,8 +1198,8 @@ if test x$support_menubar = xyes; then AC_DEFINE(MENUBAR, 1, Define if you want Menubar support) fi -if test x$support_frills = xno; then - AC_DEFINE(NO_FRILLS, 1, Define if you don't want handling for rarely used features) +if test x$support_frills = xyes; then + AC_DEFINE(ENABLE_FRILLS, 1, Define if you want handling for rarely used but handy features) fi if test x$support_linespace = xno; then AC_DEFINE(NO_LINESPACE, 1, Define if you don't want support linespace) @@ -1259,9 +1264,9 @@ if test x$codesets = xall; then codesets=jp,jp-ext,kr,cn,cn-ext fi +AC_DEFINE(ENCODING_EU, 1, Define if you want european extended codesets) +AC_DEFINE(ENCODING_VN, 1, Define if you want vietnamese codesets) for codeset in `echo $codesets | tr "[a-z,\\-]" "[A-Z _]"`; do - AC_DEFINE(ENCODING_EU, 1, Define if you want european extended codesets) - AC_DEFINE(ENCODING_VN, 1, Define if you want vietnamese codesets) case "$codeset" in JP ) AC_DEFINE(ENCODING_JP, 1, Define if you want japanese codesets) ;; JP_EXT ) AC_DEFINE(ENCODING_JP_EXT, 1, Define if you want extended japanese codesets) ;;