1
0
Fork 0
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:
Oliver Kiddle 2015-06-03 23:53:47 +02:00
parent bfac7f09df
commit 4804a7c5ff
3 changed files with 7 additions and 2 deletions

View file

@ -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

View file

@ -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>

View file

@ -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