$OpenBSD: patch-configure,v 1.20 2020/08/23 09:55:01 jca Exp $

Use posix_openpt(3).
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=42059

Index: configure
--- configure.orig
+++ configure
@@ -19668,12 +19668,12 @@ case $opsys in
 
     ;;
 
-  gnu | openbsd | qnxnto )
+  gnu | qnxnto )
     $as_echo "#define FIRST_PTY_LETTER 'p'" >>confdefs.h
 
     ;;
 
-  gnu-linux | gnu-kfreebsd | dragonfly | freebsd | netbsd | darwin | nacl )
+  openbsd | gnu-linux | gnu-kfreebsd | dragonfly | freebsd | netbsd | darwin | nacl )
         if test "x$ac_cv_func_grantpt" = xyes; then
 
 $as_echo "#define UNIX98_PTYS 1" >>confdefs.h
