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.52 by ayin, Wed Jun 13 16:20:41 2007 UTC vs.
Revision 1.53 by ayin, Mon Jun 25 13:50:40 2007 UTC

743if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) 743if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p)
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 AC_MSG_WARN(Define NO_XLOCALE in config.h manually)])]) 748 :])])
749if test x$rxvt_cv_func_xlocale = xyes; then
750 AC_DEFINE(HAVE_XLOCALE, 1, Define if Xlocale support works)
751fi
752 749
753AC_CACHE_CHECK(for working X setlocale, rxvt_cv_func_xsetlocale, 750AC_CACHE_CHECK(for working X setlocale, rxvt_cv_func_xsetlocale,
754[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define X_LOCALE 1 751[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define X_LOCALE 1
755#include <X11/Xlocale.h>]], [[setlocale(LC_CTYPE, "");]])],[rxvt_cv_func_xsetlocale=yes],[rxvt_cv_func_xsetlocale=no])]) 752#include <X11/Xlocale.h>]], [[setlocale(LC_CTYPE, "");]])],[rxvt_cv_func_xsetlocale=yes],[rxvt_cv_func_xsetlocale=no])])
756if test x$rxvt_cv_func_xsetlocale = xyes; then 753if test x$rxvt_cv_func_xsetlocale = xyes; then

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines