ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/configure.ac
(Generate patch)

Comparing rxvt-unicode/configure.ac (file contents):
Revision 1.123 by root, Mon Jan 3 03:05:47 2011 UTC vs.
Revision 1.128 by sf-exg, Wed Jan 5 17:41:24 2011 UTC

93support_pointer_blank=yes 93support_pointer_blank=yes
94support_scroll_rxvt=yes 94support_scroll_rxvt=yes
95support_scroll_next=yes 95support_scroll_next=yes
96support_scroll_xterm=yes 96support_scroll_xterm=yes
97support_xim=yes 97support_xim=yes
98support_pixbuf=yes
98support_afterimage=yes 99support_afterimage=yes
99support_xft=yes 100support_xft=yes
100support_unicode3=no 101support_unicode3=no
101support_combining=yes 102support_combining=yes
102support_8bitctrls=no 103support_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
506dnl# -------------------------------------------------------------------------- 509dnl# --------------------------------------------------------------------------
507dnl# CHECKING FOR HEADER FILES 510dnl# CHECKING FOR HEADER FILES
508dnl# -------------------------------------------------------------------------- 511dnl# --------------------------------------------------------------------------
509AC_CHECK_HEADERS( \ 512AC_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
518AC_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])])
520if test x$rxvt_cv_xpointer = xyes; then
521 AC_DEFINE(HAVE_XPOINTER, 1, Define if you have XPointer typedef)
522fi
523 521
524AC_CACHE_CHECK([for XLIB_ILLEGAL_ACCESS], rxvt_cv_xlib_illegal_access, 522AC_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
567LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" 565LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11"
568if test x$support_xim = xyes; then 566if 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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines