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.76 by ayin, Mon Jan 16 16:38:47 2006 UTC vs.
Revision 1.77 by ayin, Tue Jan 17 09:02:18 2006 UTC

727 setreuid \ 727 setreuid \
728 setsid \ 728 setsid \
729 setpgrp \ 729 setpgrp \
730 setpgid \ 730 setpgid \
731 _getpty \ 731 _getpty \
732 getpt \
732 posix_openpt \ 733 posix_openpt \
733 grantpt \ 734 grantpt \
734 unlockpt \ 735 unlockpt \
735 isastream \ 736 isastream \
736 on_exit \ 737 on_exit \
1166 1167
1167if test x$rxvt_broken_ximcb = xyes; then 1168if test x$rxvt_broken_ximcb = xyes; then
1168 AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.) 1169 AC_DEFINE(XIMCB_PROTO_BROKEN, 1, Define if your XIMCallback specifies XIC as first type.)
1169fi 1170fi
1170 1171
1171if test x$ac_cv_func_posix_openpt = xno; then 1172if test x$ac_cv_func_getpt = xno -a x$ac_cv_func_posix_openpt = xno; then
1172 AC_CHECK_FUNC(openpty, [], [AC_CHECK_LIB(util, openpty, [LIBS="$LIBS -lutil"])]) 1173 AC_CHECK_FUNC(openpty, [], [AC_CHECK_LIB(util, openpty, [LIBS="$LIBS -lutil"])])
1173fi 1174fi
1174 1175
1175dnl# if we don't guess right then it's up to the user 1176dnl# if we don't guess right then it's up to the user
1176AC_CACHE_CHECK(for pty/tty type, rxvt_cv_ptys, 1177AC_CACHE_CHECK(for pty/tty type, rxvt_cv_ptys,
1177[if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then 1178[if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then
1178 rxvt_cv_ptys=OPENPTY 1179 rxvt_cv_ptys=OPENPTY
1180 else if test x$ac_cv_func_getpt = xyes; then
1181 rxvt_cv_ptys=GLIBC
1179 else if test x$ac_cv_func_posix_openpt = xyes; then 1182 else if test x$ac_cv_func_posix_openpt = xyes; then
1180 rxvt_cv_ptys=POSIX 1183 rxvt_cv_ptys=POSIX
1181 else if test x$ac_cv_func__getpty = xyes; then 1184 else if test x$ac_cv_func__getpty = xyes; then
1182 rxvt_cv_ptys=SGI4 1185 rxvt_cv_ptys=SGI4
1183 else if test -c /dev/ttyp20; then 1186 else if test -c /dev/ttyp20; then
1202fi 1205fi
1203fi 1206fi
1204fi 1207fi
1205fi 1208fi
1206fi 1209fi
1210fi
1207]) 1211])
1208 1212
1213if test x$rxvt_cv_ptys = xGLIBC; then
1214 AC_DEFINE(PTYS_ARE_GETPT, 1, Define for this pty type)
1215fi
1209if test x$rxvt_cv_ptys = xPOSIX; then 1216if test x$rxvt_cv_ptys = xPOSIX; then
1210 AC_DEFINE(PTYS_ARE_POSIX, 1, Define for this pty type) 1217 AC_DEFINE(PTYS_ARE_POSIX, 1, Define for this pty type)
1211fi 1218fi
1212if test x$rxvt_cv_ptys = xOPENPTY; then 1219if test x$rxvt_cv_ptys = xOPENPTY; then
1213 AC_DEFINE(PTYS_ARE_OPENPTY, 1, Define for this pty type) 1220 AC_DEFINE(PTYS_ARE_OPENPTY, 1, Define for this pty type)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines