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.51 by ayin, Wed Jun 13 12:34:32 2007 UTC vs.
Revision 1.53 by ayin, Mon Jun 25 13:50:40 2007 UTC

443 AC_DEFINE_UNQUOTED(RXVT_TERMINFO, "$withval", Set TERMINFO value to the value given by configure) terminfo="$withval" 443 AC_DEFINE_UNQUOTED(RXVT_TERMINFO, "$withval", Set TERMINFO value to the value given by configure) terminfo="$withval"
444 fi]) 444 fi])
445 445
446dnl# -------------------------------------------------------------------------- 446dnl# --------------------------------------------------------------------------
447 447
448AC_PATH_PROG(CP, cp, cp)
449AC_PATH_PROG(SED, sed, sed)
450AC_PATH_PROG(ECHO, echo, echo)
451AC_PATH_PROG(TIC, tic) 448AC_PATH_PROG(TIC, tic)
452 449
453dnl# need a neat way to detect SVR4 or its features 450dnl# need a neat way to detect SVR4 or its features
454dnl# in src/command.c we use these functions: 451dnl# in src/command.c we use these functions:
455dnl# grantpt(), unlockpt(), ptsname(), which are defined in <sys/ptms.h> 452dnl# grantpt(), unlockpt(), ptsname(), which are defined in <sys/ptms.h>
746if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) 743if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p)
747exit (XSupportsLocale() ? 0 : 1); 744exit (XSupportsLocale() ? 0 : 1);
748else 745else
749exit (1);}]])],[dnl 746exit (1);}]])],[dnl
750 rxvt_cv_func_xlocale=yes],[rxvt_cv_func_xlocale=no],[dnl 747 rxvt_cv_func_xlocale=yes],[rxvt_cv_func_xlocale=no],[dnl
751 AC_MSG_WARN(Define NO_XLOCALE in config.h manually)])]) 748 :])])
752if test x$rxvt_cv_func_xlocale = xyes; then
753 AC_DEFINE(HAVE_XLOCALE, 1, Define if Xlocale support works)
754fi
755 749
756AC_CACHE_CHECK(for working X setlocale, rxvt_cv_func_xsetlocale, 750AC_CACHE_CHECK(for working X setlocale, rxvt_cv_func_xsetlocale,
757[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define X_LOCALE 1 751[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define X_LOCALE 1
758#include <X11/Xlocale.h>]], [[setlocale(LC_CTYPE, "");]])],[rxvt_cv_func_xsetlocale=yes],[rxvt_cv_func_xsetlocale=no])]) 752#include <X11/Xlocale.h>]], [[setlocale(LC_CTYPE, "");]])],[rxvt_cv_func_xsetlocale=yes],[rxvt_cv_func_xsetlocale=no])])
759if test x$rxvt_cv_func_xsetlocale = xyes; then 753if test x$rxvt_cv_func_xsetlocale = xyes; then

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines