… | |
… | |
565 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
565 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
566 | if test x$support_xim = xyes; then |
566 | if test x$support_xim = xyes; then |
567 | AC_CACHE_CHECK(for working Xlocale, rxvt_cv_func_xlocale, |
567 | AC_CACHE_CHECK(for working Xlocale, rxvt_cv_func_xlocale, |
568 | [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <X11/Xlib.h> |
568 | [AC_RUN_IFELSE([AC_LANG_SOURCE([[#include <X11/Xlib.h> |
569 | #include <stdlib.h> |
569 | #include <stdlib.h> |
570 | main() { |
570 | int main() { |
571 | char *p; |
571 | char *p; |
572 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
572 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
573 | exit (XSupportsLocale() ? 0 : 1); |
573 | exit (XSupportsLocale() ? 0 : 1); |
574 | else |
574 | else |
575 | exit (1);}]])],[dnl |
575 | exit (1);}]])],[dnl |