File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ PHP NEWS
16
16
. Fixed GH-11086 (FPM: config test runs twice in daemonised mode).
17
17
(Jakub Zelenka)
18
18
19
+ - GD:
20
+ . Fixed bug GH-12019 (add GDLIB_CFLAGS in feature tests). (Michael Orlitzky)
21
+
19
22
- Gettext:
20
23
. Fixed sigabrt raised with dcgettext/dcngettext calls with gettext 0.22.5
21
24
with category set to LC_ALL. (David Carlier)
Original file line number Diff line number Diff line change @@ -150,6 +150,8 @@ dnl or run test insufficient.
150
150
AC_DEFUN ( [ PHP_GD_CHECK_FORMAT] ,[
151
151
old_LIBS="${LIBS}"
152
152
LIBS="${LIBS} ${GD_SHARED_LIBADD}"
153
+ old_CFLAGS="${CFLAGS}"
154
+ CFLAGS="${CFLAGS} ${GDLIB_CFLAGS}"
153
155
AC_MSG_CHECKING ( [ for working gdImageCreateFrom$1 in libgd] )
154
156
AC_LANG_PUSH ( [ C] )
155
157
AC_RUN_IFELSE ( [ AC_LANG_SOURCE ( [
@@ -180,6 +182,7 @@ int main(int argc, char** argv) {
180
182
AC_MSG_RESULT ( [ no] )
181
183
] )
182
184
AC_LANG_POP ( [ C] )
185
+ CFLAGS="${old_CFLAGS}"
183
186
LIBS="${old_LIBS}"
184
187
] )
185
188
You can’t perform that action at this time.
0 commit comments