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.138 by sf-exg, Thu Jan 19 13:33:43 2012 UTC vs.
Revision 1.139 by sf-exg, Thu Jan 19 15:08:55 2012 UTC

624 AC_DEFINE(HAVE_XSETLOCALE, 1, Define if setlocale (defined to Xsetlocale) works) 624 AC_DEFINE(HAVE_XSETLOCALE, 1, Define if setlocale (defined to Xsetlocale) works)
625fi 625fi
626LIBS=$save_LIBS 626LIBS=$save_LIBS
627CFLAGS=$save_CFLAGS 627CFLAGS=$save_CFLAGS
628 628
629AC_CACHE_CHECK(for working plain setlocale, rxvt_cv_func_setlocale,
630[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <locale.h>]], [[setlocale(LC_CTYPE, "");]])],[rxvt_cv_func_setlocale=yes],[rxvt_cv_func_setlocale=no])])
631if test x$rxvt_cv_func_setlocale = xyes; then
632 AC_DEFINE(HAVE_SETLOCALE, 1, Define if plain old setlocale works)
633fi
634
635AC_CACHE_CHECK(for working nl_langinfo, rxvt_cv_func_nl_langinfo, 629AC_CACHE_CHECK(for working nl_langinfo, rxvt_cv_func_nl_langinfo,
636[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <langinfo.h>]], [[nl_langinfo(CODESET);]])],[rxvt_cv_func_nl_langinfo=yes],[rxvt_cv_func_nl_langinfo=no])]) 630[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <langinfo.h>]], [[nl_langinfo(CODESET);]])],[rxvt_cv_func_nl_langinfo=yes],[rxvt_cv_func_nl_langinfo=no])])
637if test x$rxvt_cv_func_nl_langinfo = xyes; then 631if test x$rxvt_cv_func_nl_langinfo = xyes; then
638 AC_DEFINE(HAVE_NL_LANGINFO, 1, Define if nl_langinfo(CODESET) works) 632 AC_DEFINE(HAVE_NL_LANGINFO, 1, Define if nl_langinfo(CODESET) works)
639fi 633fi

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines