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

536 sys/ioctl.h \ 536 sys/ioctl.h \
537 sys/sockio.h \ 537 sys/sockio.h \
538 sys/strredir.h \ 538 sys/strredir.h \
539 stdint.h \ 539 stdint.h \
540 wchar.h \ 540 wchar.h \
541 cwchar \
542) 541)
543 542
544AC_CACHE_CHECK([for XLIB_ILLEGAL_ACCESS], rxvt_cv_xlib_illegal_access, 543AC_CACHE_CHECK([for XLIB_ILLEGAL_ACCESS], rxvt_cv_xlib_illegal_access,
545[AC_COMPILE_IFELSE( 544[AC_COMPILE_IFELSE(
546 [AC_LANG_PROGRAM([ 545 [AC_LANG_PROGRAM([
625 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)
626fi 625fi
627LIBS=$save_LIBS 626LIBS=$save_LIBS
628CFLAGS=$save_CFLAGS 627CFLAGS=$save_CFLAGS
629 628
630AC_CACHE_CHECK(for working plain setlocale, rxvt_cv_func_setlocale,
631[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <clocale>]], [[setlocale(LC_CTYPE, "");]])],[rxvt_cv_func_setlocale=yes],[rxvt_cv_func_setlocale=no])])
632if test x$rxvt_cv_func_setlocale = xyes; then
633 AC_DEFINE(HAVE_SETLOCALE, 1, Define if plain old setlocale works)
634fi
635
636AC_CACHE_CHECK(for working nl_langinfo, rxvt_cv_func_nl_langinfo, 629AC_CACHE_CHECK(for working nl_langinfo, rxvt_cv_func_nl_langinfo,
637[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])])
638if test x$rxvt_cv_func_nl_langinfo = xyes; then 631if test x$rxvt_cv_func_nl_langinfo = xyes; then
639 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)
640fi 633fi

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines