mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Simplify openpty Autoconf check (#13494)
This removes redundant symbols HAVE_LIBUTIL and HAVE_LIBBSD.
This commit is contained in:
@@ -796,7 +796,8 @@ if test "$PHP_VALGRIND" != "no"; then
|
||||
fi
|
||||
|
||||
dnl Check for openpty. It may require linking against libutil or libbsd.
|
||||
PHP_CHECK_FUNC(openpty, util, bsd)
|
||||
AC_CHECK_FUNCS([openpty],,
|
||||
[AC_SEARCH_LIBS([openpty], [util bsd], [AC_DEFINE([HAVE_OPENPTY], [1])])])
|
||||
|
||||
dnl General settings.
|
||||
dnl ----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user