… | |
… | |
68 | support_addstrings=no |
68 | support_addstrings=no |
69 | support_frills=no |
69 | support_frills=no |
70 | support_linespace=no |
70 | support_linespace=no |
71 | support_inheritpixmap=no |
71 | support_inheritpixmap=no |
72 | support_tinting=no |
72 | support_tinting=no |
|
|
73 | support_fading=no |
73 | support_keepscrolling=no |
74 | support_keepscrolling=no |
74 | support_selectionscrolling=no |
75 | support_selectionscrolling=no |
75 | support_menubar=no |
76 | support_menubar=no |
76 | support_mousewheel=no |
77 | support_mousewheel=no |
77 | support_mouseslipwheel=no |
78 | support_mouseslipwheel=no |
… | |
… | |
111 | support_24bit=yes |
112 | support_24bit=yes |
112 | support_frills=yes |
113 | support_frills=yes |
113 | support_linespace=yes |
114 | support_linespace=yes |
114 | support_inheritpixmap=yes |
115 | support_inheritpixmap=yes |
115 | support_tinting=yes |
116 | support_tinting=yes |
|
|
117 | support_fading=yes |
116 | support_keepscrolling=yes |
118 | support_keepscrolling=yes |
117 | support_selectionscrolling=yes |
119 | support_selectionscrolling=yes |
118 | support_lastlog=yes |
120 | support_lastlog=yes |
119 | support_menubar=yes |
121 | support_menubar=yes |
120 | support_mousewheel=yes |
122 | support_mousewheel=yes |
… | |
… | |
187 | |
189 | |
188 | AC_ARG_ENABLE(tinting, |
190 | AC_ARG_ENABLE(tinting, |
189 | [ --enable-tinting enable tinting of transparent bg], |
191 | [ --enable-tinting enable tinting of transparent bg], |
190 | [if test x$enableval = xyes -o x$enableval = xno; then |
192 | [if test x$enableval = xyes -o x$enableval = xno; then |
191 | support_tinting=$enableval |
193 | support_tinting=$enableval |
|
|
194 | fi]) |
|
|
195 | |
|
|
196 | AC_ARG_ENABLE(fading, |
|
|
197 | [ --enable-fading enable colors fading when off focus], |
|
|
198 | [if test x$enableval = xyes -o x$enableval = xno; then |
|
|
199 | support_fading=$enableval |
192 | fi]) |
200 | fi]) |
193 | |
201 | |
194 | AC_ARG_ENABLE(menubar, |
202 | AC_ARG_ENABLE(menubar, |
195 | [ --enable-menubar enable menubar], |
203 | [ --enable-menubar enable menubar], |
196 | [if test x$enableval = xyes -o x$enableval = xno; then |
204 | [if test x$enableval = xyes -o x$enableval = xno; then |
… | |
… | |
1082 | rxvt_cv_func_nl_langinfo=yes, rxvt_cv_func_nl_langinfo=no)]) |
1090 | rxvt_cv_func_nl_langinfo=yes, rxvt_cv_func_nl_langinfo=no)]) |
1083 | if test x$rxvt_cv_func_nl_langinfo = xyes; then |
1091 | if test x$rxvt_cv_func_nl_langinfo = xyes; then |
1084 | AC_DEFINE(HAVE_NL_LANGINFO, 1, Define if nl_langinfo(CODESET) works) |
1092 | AC_DEFINE(HAVE_NL_LANGINFO, 1, Define if nl_langinfo(CODESET) works) |
1085 | fi |
1093 | fi |
1086 | |
1094 | |
|
|
1095 | AC_CACHE_CHECK(for broken XIM callback, rxvt_broken_ximcb, |
|
|
1096 | [AC_COMPILE_IFELSE([ |
|
|
1097 | #include <X11/Xlib.h> |
|
|
1098 | |
|
|
1099 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
1100 | |
|
|
1101 | void f() { |
|
|
1102 | XIMCallback cb; |
|
|
1103 | cb.callback = im_destroy_cb; |
|
|
1104 | } |
|
|
1105 | ],rxvt_broken_ximcb=yes,rxvt_broken_ximcb=no)]) |
|
|
1106 | |
|
|
1107 | if test x$rxvt_broken_ximcb = xyes; then |
|
|
1108 | AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.) |
|
|
1109 | fi |
|
|
1110 | |
1087 | AC_CACHE_CHECK(for getpt, rxvt_cv_func_getpt, |
1111 | AC_CACHE_CHECK(for getpt, rxvt_cv_func_getpt, |
1088 | [AC_TRY_LINK([#define _GNU_SOURCE |
1112 | [AC_TRY_LINK([#define _GNU_SOURCE |
1089 | #ifdef HAVE_STDLIB_H |
1113 | #ifdef HAVE_STDLIB_H |
1090 | # include <cstdlib> |
1114 | # include <cstdlib> |
1091 | #endif], |
1115 | #endif], |
… | |
… | |
1173 | dnl# now add and remove other stuff |
1197 | dnl# now add and remove other stuff |
1174 | dnl# -------------------------------------------------------------------------- |
1198 | dnl# -------------------------------------------------------------------------- |
1175 | if test x$support_8bitctrls = xyes; then |
1199 | if test x$support_8bitctrls = xyes; then |
1176 | AC_DEFINE(EIGHT_BIT_CONTROLS, 1, Define if you want 8 bit control sequences) |
1200 | AC_DEFINE(EIGHT_BIT_CONTROLS, 1, Define if you want 8 bit control sequences) |
1177 | fi |
1201 | fi |
|
|
1202 | if test x$support_fading = xyes; then |
|
|
1203 | AC_DEFINE(OFF_FOCUS_FADING, 1, Define if you want faded colors when focus is lost) |
|
|
1204 | fi |
1178 | if test x$support_tinting = xyes; then |
1205 | if test x$support_tinting = xyes; then |
1179 | AC_DEFINE(TINTING, 1, Define if you want your background to be tinted) |
1206 | AC_DEFINE(TINTING, 1, Define if you want your background to be tinted) |
1180 | fi |
1207 | fi |
1181 | if test x$support_inheritpixmap = xyes; then |
1208 | if test x$support_inheritpixmap = xyes; then |
1182 | AC_DEFINE(TRANSPARENT, 1, Define if you want your background to use the parent window background) |
1209 | AC_DEFINE(TRANSPARENT, 1, Define if you want your background to use the parent window background) |