Skip to content

Commit 60aff0b

Browse files
coladictnikic
authored andcommitted
Fixed bug #69993
1 parent fbf655a commit 60aff0b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ PHP NEWS
1212
. Fixed bug #67583 (double fastcgi_end_request on max_children limit).
1313
(Dmitry Saprykin)
1414

15+
- GMP:
16+
. Fixed bug #69993 (test for gmp.h needs to test machine includes).
17+
(Jordan Gigov)
18+
1519
- Mysqlnd:
1620
. Fixed bug #69899 (segfault on close() after free_result() with mysqlnd).
1721
(Richard Fussenegger)

ext/gmp/config.m4

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@ PHP_ARG_WITH(gmp, for GNU MP support,
33

44
if test "$PHP_GMP" != "no"; then
55

6+
MACHINE_INCLUDES=$($CC -dumpmachine)
7+
68
for i in $PHP_GMP /usr/local /usr; do
79
test -f $i/include/gmp.h && GMP_DIR=$i && break
10+
test -f $i/include/$MACHINE_INCLUDES/gmp.h && GMP_DIR=$i && break
811
done
912

1013
if test -z "$GMP_DIR"; then

0 commit comments

Comments
 (0)