1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Fix GH-15515: Configure error grep illegal option q (#15516)

On Solaris default grep doesn't support the -q option. In such cases
the grep output can be redirected to /dev/null and the exit status is
checked.
This commit is contained in:
Peter Kokot
2024-08-21 15:51:27 +02:00
committed by GitHub
parent 6652a34006
commit 63841ba7cf
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@@ -5,6 +5,7 @@ PHP NEWS
- Core:
. Fixed bug GH-15408 (MSan false-positve on zend_max_execution_timer).
(zeriyoshi)
. Fixed bug GH-15515 (Configure error grep illegal option q). (Peter Kokot)
- MySQLnd:
. Fixed bug GH-15432 (Heap corruption when querying a vector). (cmb,

View File

@@ -262,7 +262,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 when using musl libc])