… | |
… | |
1172 | |
1172 | |
1173 | if test x$rxvt_broken_ximcb = xyes; then |
1173 | if test x$rxvt_broken_ximcb = xyes; then |
1174 | AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.) |
1174 | AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.) |
1175 | fi |
1175 | fi |
1176 | |
1176 | |
1177 | if test x$rxvt_cv_func_posix_openpt = xno; then |
1177 | if test x$ac_cv_func_posix_openpt = xno; then |
1178 | AC_CHECK_FUNC(openpty, [], [AC_CHECK_LIB(util, openpty, [LIBS="$LIBS -lutil"])]) |
1178 | AC_CHECK_FUNC(openpty, [], [AC_CHECK_LIB(util, openpty, [LIBS="$LIBS -lutil"])]) |
1179 | fi |
1179 | fi |
1180 | |
1180 | |
1181 | dnl# if we don't guess right then it's up to the user |
1181 | dnl# if we don't guess right then it's up to the user |
1182 | AC_CACHE_CHECK(for pty/tty type, rxvt_cv_ptys, |
1182 | AC_CACHE_CHECK(for pty/tty type, rxvt_cv_ptys, |
… | |
… | |
1228 | AC_DEFINE(PTYS_ARE_PTC, 1, Define for this pty type) |
1228 | AC_DEFINE(PTYS_ARE_PTC, 1, Define for this pty type) |
1229 | fi |
1229 | fi |
1230 | if test x$rxvt_cv_ptys = xSGI4; then |
1230 | if test x$rxvt_cv_ptys = xSGI4; then |
1231 | AC_DEFINE(PTYS_ARE__GETPTY, 1, Define for this pty type) |
1231 | AC_DEFINE(PTYS_ARE__GETPTY, 1, Define for this pty type) |
1232 | fi |
1232 | fi |
1233 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
1234 | AC_DEFINE(PTYS_ARE_GETPT, 1, Define for this pty type) |
|
|
1235 | fi |
|
|
1236 | if test x$rxvt_cv_ptys = xHPUX; then |
1233 | if test x$rxvt_cv_ptys = xHPUX; then |
1237 | AC_DEFINE(PTYS_ARE_CLONE, 1, Define for this pty type) |
1234 | AC_DEFINE(PTYS_ARE_CLONE, 1, Define for this pty type) |
1238 | fi |
1235 | fi |
1239 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xGLIBC; then |
1236 | if test x$rxvt_cv_ptys = xBSD -o x$rxvt_cv_ptys = xHPUX -o x$rxvt_cv_ptys = xPOSIX; then |
1240 | AC_DEFINE(PTYS_ARE_SEARCHED, 1, Define for this pty type) |
1237 | AC_DEFINE(PTYS_ARE_SEARCHED, 1, Define for this pty type) |
1241 | fi |
1238 | fi |
1242 | |
1239 | |
1243 | |
1240 | |
1244 | AS_MESSAGE(checking for pty ranges...) |
1241 | AS_MESSAGE(checking for pty ranges...) |