projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a83ff55
)
HAVE_XLOCALE is unused.
author
ayin
<ayin>
Mon, 25 Jun 2007 13:50:40 +0000
(13:50 +0000)
committer
ayin
<ayin>
Mon, 25 Jun 2007 13:50:40 +0000
(13:50 +0000)
configure.ac
patch
|
blob
|
history
src/init.h
patch
|
blob
|
history
src/rxvtfont.h
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
fdae387
..
9ee539d
100644
(file)
--- 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
474c36e
..
9f8f892
100644
(file)
--- a/
src/init.h
+++ b/
src/init.h
@@
-11,7
+11,7
@@
# ifdef HAVE_SETLOCALE
# include <clocale>
# endif
-#endif
/* HAVE_XLOCALE */
+#endif
#ifdef TTY_GID_SUPPORT
# include <grp.h>
diff --git
a/src/rxvtfont.h
b/src/rxvtfont.h
index
62fb2e2
..
7d845f4
100644
(file)
--- a/
src/rxvtfont.h
+++ b/
src/rxvtfont.h
@@
-13,7
+13,7
@@
# ifdef HAVE_SETLOCALE
# include <clocale>
# endif
-#endif
/* HAVE_XLOCALE */
+#endif
#ifdef HAVE_NL_LANGINFO
# include <langinfo.h>