about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2015-06-03 23:53:47 +0200
committerOliver Kiddle <opk@zsh.org>2015-06-03 23:54:09 +0200
commit4804a7c5ff144fc7cc974484d16f2f88cc131264 (patch)
tree7bbb254d5d427818e8dd5dd43b086d21ced2f81b /configure.ac
parentbfac7f09df6224581dcd66c30e78a440ed22b812 (diff)
downloadzsh-4804a7c5ff144fc7cc974484d16f2f88cc131264.tar.gz
zsh-4804a7c5ff144fc7cc974484d16f2f88cc131264.tar.xz
zsh-4804a7c5ff144fc7cc974484d16f2f88cc131264.zip
35360 (replacing 35357): fix for configuring zpty on FreeBSD without
pty.ko loaded
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 6a99aec1d..d7db8ba8d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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