ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/autoconf/configure.in
(Generate patch)

Comparing rxvt-unicode/autoconf/configure.in (file contents):
Revision 1.55 by root, Tue Oct 25 20:16:41 2005 UTC vs.
Revision 1.56 by root, Fri Dec 23 14:46:34 2005 UTC

1116[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <langinfo.h>]], [[nl_langinfo(CODESET);]])],[rxvt_cv_func_nl_langinfo=yes],[rxvt_cv_func_nl_langinfo=no])]) 1116[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <langinfo.h>]], [[nl_langinfo(CODESET);]])],[rxvt_cv_func_nl_langinfo=yes],[rxvt_cv_func_nl_langinfo=no])])
1117if test x$rxvt_cv_func_nl_langinfo = xyes; then 1117if test x$rxvt_cv_func_nl_langinfo = xyes; then
1118 AC_DEFINE(HAVE_NL_LANGINFO, 1, Define if nl_langinfo(CODESET) works) 1118 AC_DEFINE(HAVE_NL_LANGINFO, 1, Define if nl_langinfo(CODESET) works)
1119fi 1119fi
1120 1120
1121AC_CACHE_CHECK(for unix-compliant filehandle passing ability, rxvt_can_pass_fds,
1122[AC_TRY_LINK([
1123#include <sys/types.h>
1124#include <sys/socket.h>
1125],[
1126{
1127 msghdr msg;
1128 iovec iov;
1129 char buf [100];
1130 char data = 0;
1131
1132 iov.iov_base = &data;
1133 iov.iov_len = 1;
1134
1135 msg.msg_iov = &iov;
1136 msg.msg_iovlen = 1;
1137 msg.msg_control = buf;
1138 msg.msg_controllen = sizeof buf;
1139
1140 cmsghdr *cmsg = CMSG_FIRSTHDR (&msg);
1141 cmsg->cmsg_level = SOL_SOCKET;
1142 cmsg->cmsg_type = SCM_RIGHTS;
1143 cmsg->cmsg_len = 100;
1144
1145 *(int *)CMSG_DATA (cmsg) = 5;
1146
1147 return sendmsg (3, &msg, 0);
1148}
1149],[rxvt_can_pass_fds=yes],[rxvt_can_pass_fds=no])])
1150if test x$rxvt_can_pass_fds = xyes; then
1151 AC_DEFINE(HAVE_UNIX_FDPASS, 1, Define if sys/socket.h defines the necessary macros/functions for file handle passing)
1152fi
1153
1121AC_CACHE_CHECK(for broken XIM callback, rxvt_broken_ximcb, 1154AC_CACHE_CHECK(for broken XIM callback, rxvt_broken_ximcb,
1122[AC_COMPILE_IFELSE([ 1155[AC_COMPILE_IFELSE([
1123#include <X11/Xlib.h> 1156#include <X11/Xlib.h>
1124 1157
1125void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); 1158void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines