… | |
… | |
93 | support_pointer_blank=yes |
93 | support_pointer_blank=yes |
94 | support_scroll_rxvt=yes |
94 | support_scroll_rxvt=yes |
95 | support_scroll_next=yes |
95 | support_scroll_next=yes |
96 | support_scroll_xterm=yes |
96 | support_scroll_xterm=yes |
97 | support_xim=yes |
97 | support_xim=yes |
|
|
98 | support_pixbuf=yes |
98 | support_afterimage=yes |
99 | support_afterimage=yes |
99 | support_xft=yes |
100 | support_xft=yes |
100 | support_unicode3=no |
101 | support_unicode3=no |
101 | support_combining=yes |
102 | support_combining=yes |
102 | support_8bitctrls=no |
103 | support_8bitctrls=no |
… | |
… | |
128 | support_scroll_next=no |
129 | support_scroll_next=no |
129 | support_scroll_xterm=no |
130 | support_scroll_xterm=no |
130 | support_utmp=no |
131 | support_utmp=no |
131 | support_wtmp=no |
132 | support_wtmp=no |
132 | support_xim=no |
133 | support_xim=no |
|
|
134 | support_pixbuf=no |
133 | support_afterimage=no |
135 | support_afterimage=no |
134 | support_xft=no |
136 | support_xft=no |
135 | support_unicode3=no |
137 | support_unicode3=no |
136 | support_combining=no |
138 | support_combining=no |
137 | support_8bitctrls=no |
139 | support_8bitctrls=no |
… | |
… | |
155 | support_scroll_next=yes |
157 | support_scroll_next=yes |
156 | support_scroll_xterm=yes |
158 | support_scroll_xterm=yes |
157 | support_utmp=yes |
159 | support_utmp=yes |
158 | support_wtmp=yes |
160 | support_wtmp=yes |
159 | support_xim=yes |
161 | support_xim=yes |
|
|
162 | support_pixbuf=yes |
160 | support_afterimage=yes |
163 | support_afterimage=yes |
161 | support_xft=yes |
164 | support_xft=yes |
162 | support_unicode3=yes |
165 | support_unicode3=yes |
163 | support_combining=yes |
166 | support_combining=yes |
164 | #support_8bitctrls=yes |
167 | #support_8bitctrls=yes |
… | |
… | |
505 | |
508 | |
506 | dnl# -------------------------------------------------------------------------- |
509 | dnl# -------------------------------------------------------------------------- |
507 | dnl# CHECKING FOR HEADER FILES |
510 | dnl# CHECKING FOR HEADER FILES |
508 | dnl# -------------------------------------------------------------------------- |
511 | dnl# -------------------------------------------------------------------------- |
509 | AC_CHECK_HEADERS( \ |
512 | AC_CHECK_HEADERS( \ |
|
|
513 | sys/byteorder.h \ |
510 | sys/ioctl.h \ |
514 | sys/ioctl.h \ |
511 | sys/sockio.h \ |
515 | sys/sockio.h \ |
512 | sys/strredir.h \ |
516 | sys/strredir.h \ |
513 | stdint.h \ |
517 | stdint.h \ |
514 | wchar.h \ |
518 | wchar.h \ |
515 | cwchar \ |
519 | cwchar \ |
516 | ) |
520 | ) |
517 | |
|
|
518 | AC_CACHE_CHECK([for XPointer], rxvt_cv_xpointer, |
|
|
519 | [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <X11/Xlib.h>]], [[XPointer dummy;]])],[rxvt_cv_xpointer=yes],[rxvt_cv_xpointer=no])]) |
|
|
520 | if test x$rxvt_cv_xpointer = xyes; then |
|
|
521 | AC_DEFINE(HAVE_XPOINTER, 1, Define if you have XPointer typedef) |
|
|
522 | fi |
|
|
523 | |
521 | |
524 | AC_CACHE_CHECK([for XLIB_ILLEGAL_ACCESS], rxvt_cv_xlib_illegal_access, |
522 | AC_CACHE_CHECK([for XLIB_ILLEGAL_ACCESS], rxvt_cv_xlib_illegal_access, |
525 | [AC_COMPILE_IFELSE( |
523 | [AC_COMPILE_IFELSE( |
526 | [AC_LANG_PROGRAM([ |
524 | [AC_LANG_PROGRAM([ |
527 | #define XLIB_ILLEGAL_ACCESS |
525 | #define XLIB_ILLEGAL_ACCESS |
… | |
… | |
567 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
565 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
568 | if test x$support_xim = xyes; then |
566 | if test x$support_xim = xyes; then |
569 | AC_CACHE_CHECK(for working Xlocale, rxvt_cv_func_xlocale, |
567 | AC_CACHE_CHECK(for working Xlocale, rxvt_cv_func_xlocale, |
570 | [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <X11/Xlib.h> |
568 | [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <X11/Xlib.h> |
571 | #include <stdlib.h> |
569 | #include <stdlib.h> |
572 | main() { |
570 | int main() { |
573 | char *p; |
571 | char *p; |
574 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
572 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
575 | exit (XSupportsLocale() ? 0 : 1); |
573 | exit (XSupportsLocale() ? 0 : 1); |
576 | else |
574 | else |
577 | exit (1);}]])],[dnl |
575 | exit (1);}]])],[dnl |
578 | rxvt_cv_func_xlocale=yes],[rxvt_cv_func_xlocale=no],[dnl |
576 | rxvt_cv_func_xlocale=yes],[rxvt_cv_func_xlocale=no],[dnl |
579 | :])]) |
577 | :])]) |
580 | if test x$rxvt_cv_func_xlocale = xyes; then |
578 | if test x$rxvt_cv_func_xlocale = xyes; then |
581 | AC_DEFINE(USE_XIM, 1, Define if you want to have XIM (X Input Method) protocol support - required for multibyte characters input) |
579 | AC_DEFINE(USE_XIM, 1, Define if you want to have XIM (X Input Method) protocol support - required for multibyte characters input) |
582 | AC_CACHE_CHECK(for broken XIM callback, rxvt_cv_broken_ximcb, |
580 | AC_CACHE_CHECK(for broken XIM callback, rxvt_cv_broken_ximcb, |
583 | [AC_COMPILE_IFELSE([ |
581 | [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ |
584 | #include <X11/Xlib.h> |
582 | #include <X11/Xlib.h> |
585 | |
583 | |
586 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
584 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
587 | |
585 | |
588 | void f() { |
586 | void f() { |
589 | XIMCallback cb; |
587 | XIMCallback cb; |
590 | cb.callback = im_destroy_cb; |
588 | cb.callback = im_destroy_cb; |
591 | } |
589 | } |
592 | ],rxvt_cv_broken_ximcb=yes,rxvt_cv_broken_ximcb=no)]) |
590 | ]])],rxvt_cv_broken_ximcb=yes,rxvt_cv_broken_ximcb=no)]) |
593 | |
591 | |
594 | if test x$rxvt_cv_broken_ximcb = xyes; then |
592 | if test x$rxvt_cv_broken_ximcb = xyes; then |
595 | AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.) |
593 | AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.) |
596 | fi |
594 | fi |
597 | fi |
595 | fi |