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.54 by root, Tue Oct 25 20:04:58 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);
1478 1511
1479echo " *** Optionally check src/feature.h for further options ***" 1512echo " *** Optionally check src/feature.h for further options ***"
1480echo 1513echo
1481 1514
1482echo ".----------------------------------------------------------------." 1515echo ".----------------------------------------------------------------."
1483echo ". NOTE: most features are disabled by default, try ." 1516echo ". NOTE: some features are disabled by default, try ."
1484echo ". configure --help to get an idea of the optional features, ." 1517echo ". configure --help to get an idea of the optional features, ."
1485echo ". or read ./README.configure ." 1518echo ". or read ./README.configure ."
1486echo ". ." 1519echo ". ."
1487echo ". The script ./reconf gives a reasonable baseline, try it if ." 1520echo ". The script ./reconf gives a reasonable baseline, try it if ."
1488echo ". you do not want to read documentation and still want some ." 1521echo ". you do not want to read documentation and still want some ."

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines