]> granicus.if.org Git - php/commitdiff
Haiku proc_open build fix, *pty api resides on the BSD library
authorDavid Carlier <devnexen@gmail.com>
Fri, 26 Jun 2020 09:23:52 +0000 (09:23 +0000)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 26 Jun 2020 10:06:21 +0000 (12:06 +0200)
Closes GH-5770.

configure.ac

index 2a62ca6eb807121dca26ec22ea746679061bee0a..df64a61015fb174f86e69355931bd43ead4d53e4 100644 (file)
@@ -692,8 +692,8 @@ if test "$PHP_VALGRIND" != "no"; then
   fi
 fi
 
-dnl Check for openpty. It may require linking against libutil.
-PHP_CHECK_FUNC(openpty, util)
+dnl Check for openpty. It may require linking against libutil or libbsd.
+PHP_CHECK_FUNC(openpty, util, bsd)
 
 dnl General settings.
 dnl ----------------------------------------------------------------------------