mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.3'
* PHP-8.3: Fix GH-15515: Configure error grep illegal option q (#15516)
This commit is contained in:
commit
c69d29ebc3
2 changed files with 3 additions and 2 deletions
|
@ -237,7 +237,7 @@ esac
|
|||
|
||||
dnl Detect musl libc
|
||||
AC_MSG_CHECKING([whether we are using musl libc])
|
||||
if command -v ldd >/dev/null && ldd --version 2>&1 | grep -q ^musl
|
||||
if command -v ldd >/dev/null && ldd --version 2>&1 | grep ^musl >/dev/null 2>&1
|
||||
then
|
||||
AC_MSG_RESULT([yes])
|
||||
AC_DEFINE([__MUSL__], [1], [Define to 1 when using musl libc.])
|
||||
|
|
|
@ -43,7 +43,8 @@ if test "$PHP_POSIX" = "yes"; then
|
|||
|
||||
dnl Skip pathconf and fpathconf check on musl libc due to limited implementation
|
||||
dnl (first argument is not validated and has different error).
|
||||
AS_IF([command -v ldd >/dev/null && ldd --version 2>&1 | grep -q "^musl"],[],
|
||||
AS_IF([command -v ldd >/dev/null && ldd --version 2>&1 | grep ^musl >/dev/null 2>&1],
|
||||
[],
|
||||
[AC_CHECK_FUNCS([pathconf fpathconf])])
|
||||
|
||||
AC_CACHE_CHECK([for working ttyname_r() implementation],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue