[php-src] PR #14417: Wrap ttyname_r check in AC_CACHE_CHECK
| From: | petk | Date: | Sat, 01 Jun 2024 18:14:03 +0000 |
| Subject: | [php-src] PR #14417: Wrap ttyname_r check in AC_CACHE_CHECK | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-26457@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14417
Author: petk
This enables cross-compiling to set the php_cv_func_ttyname_r variable for adjusting the
configuration manually.
In case of cross-compiling the AC_CHECK_FUNCS is additionally used to guess whether the target has
the ttyname_r. Current platforms mostly either have working ttyname_r compatible with POSIX or not.