File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ PHP NEWS
1616 . Fixed GH-11086 (FPM: config test runs twice in daemonised mode).
1717 (Jakub Zelenka)
1818
19+ - GD:
20+ . Fixed bug GH-12019 (add GDLIB_CFLAGS in feature tests). (Michael Orlitzky)
21+
1922- Gettext:
2023 . Fixed sigabrt raised with dcgettext/dcngettext calls with gettext 0.22.5
2124 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.
150150AC_DEFUN ( [ PHP_GD_CHECK_FORMAT] ,[
151151 old_LIBS="${LIBS}"
152152 LIBS="${LIBS} ${GD_SHARED_LIBADD}"
153+ old_CFLAGS="${CFLAGS}"
154+ CFLAGS="${CFLAGS} ${GDLIB_CFLAGS}"
153155 AC_MSG_CHECKING ( [ for working gdImageCreateFrom$1 in libgd] )
154156 AC_LANG_PUSH ( [ C] )
155157 AC_RUN_IFELSE ( [ AC_LANG_SOURCE ( [
@@ -180,6 +182,7 @@ int main(int argc, char** argv) {
180182 AC_MSG_RESULT ( [ no] )
181183 ] )
182184 AC_LANG_POP ( [ C] )
185+ CFLAGS="${old_CFLAGS}"
183186 LIBS="${old_LIBS}"
184187] )
185188
You can’t perform that action at this time.
0 commit comments