mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-12-28 16:15:02 +01:00
35360 (replacing 35357): fix for configuring zpty on FreeBSD without
pty.ko loaded
This commit is contained in:
parent
bfac7f09df
commit
4804a7c5ff
3 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-06-03 Oliver Kiddle <opk@zsh.org>
|
||||
|
||||
* 35360 (replacing 35357): configure.ac, Src/Modules/zpty.c:
|
||||
fix for configuring zpty on FreeBSD without pty.ko loaded
|
||||
|
||||
2015-06-03 Peter Stephenson <p.stephenson@samsung.com>
|
||||
|
||||
* 35374: Test/D07multibyte.ztst: add tab expansion test with
|
||||
|
|
|
@ -154,7 +154,7 @@ getptycmd(char *name)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
#if defined(USE_DEV_PTMX) || defined(HAVE_POSIX_OPENPT)
|
||||
#ifdef USE_DEV_PTMX
|
||||
|
||||
#ifdef HAVE_SYS_STROPTS_H
|
||||
#include <sys/stropts.h>
|
||||
|
|
|
@ -2526,7 +2526,7 @@ dnl these is by defining _GNU_SOURCE.
|
|||
dnl -------
|
||||
AH_TEMPLATE([USE_DEV_PTMX],
|
||||
[Define to 1 if all the kit for using /dev/ptmx for ptys is available.])
|
||||
if test x$ac_cv_have_dev_ptmx = xyes && \
|
||||
if test x$ac_cv_have_dev_ptmx = xyes -o x$ac_cv_func_posix_openpt = xyes && \
|
||||
test x$ac_cv_func_grantpt = xyes && \
|
||||
test x$ac_cv_func_unlockpt = xyes && \
|
||||
test x$ac_cv_func_ptsname = xyes; then
|
||||
|
|
Loading…
Reference in a new issue