Skip to content

Commit 6674f81

Browse files
committed
Merge branch 'PHP-7.0' into PHP-7.1
2 parents e77a1db + 60aff0b commit 6674f81

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 #73904 (php-cgi fails to load -c specified php.ini file). (Anatol)
1313
. Fixed bug #72898 (PHP_FCGI_CHILDREN is not included in phpinfo()). (Anatol)
1414

15+
- GMP:
16+
. Fixed bug #69993 (test for gmp.h needs to test machine includes).
17+
(Jordan Gigov)
18+
1519
- Hash:
1620
. Added hash_hkdf() function. (Andrey Andreev)
1721

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)