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.53 by ayin, Mon Jun 25 13:50:40 2007 UTC vs.
Revision 1.54 by ayin, Mon Jun 25 13:53:42 2007 UTC

744exit (XSupportsLocale() ? 0 : 1); 744exit (XSupportsLocale() ? 0 : 1);
745else 745else
746exit (1);}]])],[dnl 746exit (1);}]])],[dnl
747 rxvt_cv_func_xlocale=yes],[rxvt_cv_func_xlocale=no],[dnl 747 rxvt_cv_func_xlocale=yes],[rxvt_cv_func_xlocale=no],[dnl
748 :])]) 748 :])])
749if test x$support_xim = xyes; then
750 if test x$rxvt_cv_func_xlocale = xyes; then
751 AC_DEFINE(USE_XIM, 1, Define if you want to have XIM (X Input Method) protocol support - required for multibyte characters input)
752 fi
753fi
749 754
750AC_CACHE_CHECK(for working X setlocale, rxvt_cv_func_xsetlocale, 755AC_CACHE_CHECK(for working X setlocale, rxvt_cv_func_xsetlocale,
751[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define X_LOCALE 1 756[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define X_LOCALE 1
752#include <X11/Xlocale.h>]], [[setlocale(LC_CTYPE, "");]])],[rxvt_cv_func_xsetlocale=yes],[rxvt_cv_func_xsetlocale=no])]) 757#include <X11/Xlocale.h>]], [[setlocale(LC_CTYPE, "");]])],[rxvt_cv_func_xsetlocale=yes],[rxvt_cv_func_xsetlocale=no])])
753if test x$rxvt_cv_func_xsetlocale = xyes; then 758if test x$rxvt_cv_func_xsetlocale = xyes; then
843if test x$support_mousewheel = xyes; then 848if test x$support_mousewheel = xyes; then
844 AC_DEFINE(MOUSE_WHEEL, 1, Define to use wheel events (button4 and button5) to scroll) 849 AC_DEFINE(MOUSE_WHEEL, 1, Define to use wheel events (button4 and button5) to scroll)
845fi 850fi
846if test x$support_mouseslipwheel = xyes; then 851if test x$support_mouseslipwheel = xyes; then
847 AC_DEFINE(MOUSE_SLIP_WHEELING, 1, Define to have CTRL cause wheel events to accelerate scrolling. Release CTRL to halt scrolling) 852 AC_DEFINE(MOUSE_SLIP_WHEELING, 1, Define to have CTRL cause wheel events to accelerate scrolling. Release CTRL to halt scrolling)
848fi
849if test x$support_xim = xyes -o x$multichar_set = xyes; then
850 if test x$rxvt_cv_func_xlocale = xyes; then
851 AC_DEFINE(USE_XIM, 1, Define if you want to have XIM (X Input Method) protocol support - required for multibyte characters input)
852 fi
853fi 853fi
854if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then 854if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then
855 AC_DEFINE(XPM_BACKGROUND, 1, Define if you want to have sexy-looking background pixmaps. Needs libXpm or libAfterImage) 855 AC_DEFINE(XPM_BACKGROUND, 1, Define if you want to have sexy-looking background pixmaps. Needs libXpm or libAfterImage)
856fi 856fi
857 857

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines