… | |
… | |
1090 | rxvt_cv_func_nl_langinfo=yes, rxvt_cv_func_nl_langinfo=no)]) |
1090 | rxvt_cv_func_nl_langinfo=yes, rxvt_cv_func_nl_langinfo=no)]) |
1091 | if test x$rxvt_cv_func_nl_langinfo = xyes; then |
1091 | if test x$rxvt_cv_func_nl_langinfo = xyes; then |
1092 | AC_DEFINE(HAVE_NL_LANGINFO, 1, Define if nl_langinfo(CODESET) works) |
1092 | AC_DEFINE(HAVE_NL_LANGINFO, 1, Define if nl_langinfo(CODESET) works) |
1093 | fi |
1093 | fi |
1094 | |
1094 | |
|
|
1095 | AC_CACHE_CHECK(for broken XIM callback, rxvt_broken_ximcb, |
|
|
1096 | [AC_COMPILE_IFELSE([ |
|
|
1097 | #include <X11/Xlib.h> |
|
|
1098 | |
|
|
1099 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
1100 | |
|
|
1101 | void f() { |
|
|
1102 | XIMCallback cb; |
|
|
1103 | cb.callback = im_destroy_cb; |
|
|
1104 | } |
|
|
1105 | ],rxvt_broken_ximcb=yes,rxvt_broken_ximcb=no)]) |
|
|
1106 | |
|
|
1107 | if test x$rxvt_broken_ximcb = xyes; then |
|
|
1108 | AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.) |
|
|
1109 | fi |
|
|
1110 | |
1095 | AC_CACHE_CHECK(for getpt, rxvt_cv_func_getpt, |
1111 | AC_CACHE_CHECK(for getpt, rxvt_cv_func_getpt, |
1096 | [AC_TRY_LINK([#define _GNU_SOURCE |
1112 | [AC_TRY_LINK([#define _GNU_SOURCE |
1097 | #ifdef HAVE_STDLIB_H |
1113 | #ifdef HAVE_STDLIB_H |
1098 | # include <cstdlib> |
1114 | # include <cstdlib> |
1099 | #endif], |
1115 | #endif], |