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.106 by root, Sat Dec 26 10:24:04 2009 UTC vs.
Revision 1.107 by sf-exg, Sun Jan 31 09:47:24 2010 UTC

479[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <X11/Xlib.h>]], [[XPointer dummy;]])],[rxvt_cv_xpointer=yes],[rxvt_cv_xpointer=no])]) 479[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <X11/Xlib.h>]], [[XPointer dummy;]])],[rxvt_cv_xpointer=yes],[rxvt_cv_xpointer=no])])
480if test x$rxvt_cv_xpointer = xyes; then 480if test x$rxvt_cv_xpointer = xyes; then
481 AC_DEFINE(HAVE_XPOINTER, 1, Define if you have XPointer typedef) 481 AC_DEFINE(HAVE_XPOINTER, 1, Define if you have XPointer typedef)
482fi 482fi
483 483
484AC_CACHE_CHECK([for XLIB_ILLEGAL_ACCESS], rxvt_xlib_illegal_access, 484AC_CACHE_CHECK([for XLIB_ILLEGAL_ACCESS], rxvt_cv_xlib_illegal_access,
485[AC_COMPILE_IFELSE( 485[AC_COMPILE_IFELSE(
486 [AC_LANG_PROGRAM([ 486 [AC_LANG_PROGRAM([
487#define XLIB_ILLEGAL_ACCESS 487#define XLIB_ILLEGAL_ACCESS
488#include <X11/Xlib.h> 488#include <X11/Xlib.h>
489 ],[ 489 ],[
490 Display *dpy; 490 Display *dpy;
491 dpy->xdefaults = (char *)0; 491 dpy->xdefaults = (char *)0;
492 ])], 492 ])],
493 [rxvt_xlib_illegal_access=yes],[rxvt_xlib_illegal_access=no] 493 [rxvt_cv_xlib_illegal_access=yes],[rxvt_cv_xlib_illegal_access=no]
494)]) 494)])
495if test x$rxvt_xlib_illegal_access = xyes; then 495if test x$rxvt_cv_xlib_illegal_access = xyes; then
496 AC_DEFINE(XLIB_ILLEGAL_ACCESS, 1, Define ONLY iff Xlib.h supports it) 496 AC_DEFINE(XLIB_ILLEGAL_ACCESS, 1, Define ONLY iff Xlib.h supports it)
497fi 497fi
498 498
499dnl# -------------------------------------------------------------------------- 499dnl# --------------------------------------------------------------------------
500dnl# CHECKING FOR MISSING TYPEDEFS 500dnl# CHECKING FOR MISSING TYPEDEFS
537 exit (1);}]])],[dnl 537 exit (1);}]])],[dnl
538 rxvt_cv_func_xlocale=yes],[rxvt_cv_func_xlocale=no],[dnl 538 rxvt_cv_func_xlocale=yes],[rxvt_cv_func_xlocale=no],[dnl
539 :])]) 539 :])])
540 if test x$rxvt_cv_func_xlocale = xyes; then 540 if test x$rxvt_cv_func_xlocale = xyes; then
541 AC_DEFINE(USE_XIM, 1, Define if you want to have XIM (X Input Method) protocol support - required for multibyte characters input) 541 AC_DEFINE(USE_XIM, 1, Define if you want to have XIM (X Input Method) protocol support - required for multibyte characters input)
542 AC_CACHE_CHECK(for broken XIM callback, rxvt_broken_ximcb, 542 AC_CACHE_CHECK(for broken XIM callback, rxvt_cv_broken_ximcb,
543 [AC_COMPILE_IFELSE([ 543 [AC_COMPILE_IFELSE([
544 #include <X11/Xlib.h> 544 #include <X11/Xlib.h>
545 545
546 void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); 546 void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);
547 547
548 void f() { 548 void f() {
549 XIMCallback cb; 549 XIMCallback cb;
550 cb.callback = im_destroy_cb; 550 cb.callback = im_destroy_cb;
551 } 551 }
552 ],rxvt_broken_ximcb=yes,rxvt_broken_ximcb=no)]) 552 ],rxvt_cv_broken_ximcb=yes,rxvt_cv_broken_ximcb=no)])
553 553
554 if test x$rxvt_broken_ximcb = xyes; then 554 if test x$rxvt_cv_broken_ximcb = xyes; then
555 AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.) 555 AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.)
556 fi 556 fi
557 fi 557 fi
558fi 558fi
559 559

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines