From d1ba76da1954bdeef6a1b3e290c0aa876ca97278 Mon Sep 17 00:00:00 2001 From: ayin Date: Mon, 25 Jun 2007 13:50:40 +0000 Subject: [PATCH] HAVE_XLOCALE is unused. --- configure.ac | 5 +---- src/init.h | 2 +- src/rxvtfont.h | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/configure.ac b/configure.ac index fdae3873..9ee539d4 100644 --- a/configure.ac +++ b/configure.ac @@ -745,10 +745,7 @@ exit (XSupportsLocale() ? 0 : 1); else exit (1);}]])],[dnl rxvt_cv_func_xlocale=yes],[rxvt_cv_func_xlocale=no],[dnl - AC_MSG_WARN(Define NO_XLOCALE in config.h manually)])]) -if test x$rxvt_cv_func_xlocale = xyes; then - AC_DEFINE(HAVE_XLOCALE, 1, Define if Xlocale support works) -fi + :])]) AC_CACHE_CHECK(for working X setlocale, rxvt_cv_func_xsetlocale, [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define X_LOCALE 1 diff --git a/src/init.h b/src/init.h index 474c36eb..9f8f8926 100644 --- a/src/init.h +++ b/src/init.h @@ -11,7 +11,7 @@ # ifdef HAVE_SETLOCALE # include # endif -#endif /* HAVE_XLOCALE */ +#endif #ifdef TTY_GID_SUPPORT # include diff --git a/src/rxvtfont.h b/src/rxvtfont.h index 62fb2e2a..7d845f4b 100644 --- a/src/rxvtfont.h +++ b/src/rxvtfont.h @@ -13,7 +13,7 @@ # ifdef HAVE_SETLOCALE # include # endif -#endif /* HAVE_XLOCALE */ +#endif #ifdef HAVE_NL_LANGINFO # include -- 2.34.1