mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00

When decoding multibyte data in EXIF tags, the mbstring extension needs
to be enabled. In Autotools this is now synced with ZEND_MOD_OPTIONAL
in the C code, and on Windows it is now also optional.
The required dependency on mbstring extension was removed via
755c2cd0d8
which made the mbstring
extension optional dependency.
14 lines
449 B
Text
14 lines
449 B
Text
PHP_ARG_ENABLE([exif],
|
|
[whether to enable EXIF (metadata from images) support],
|
|
[AS_HELP_STRING([--enable-exif],
|
|
[Enable EXIF (metadata from images) support])])
|
|
|
|
if test "$PHP_EXIF" != "no"; then
|
|
AC_DEFINE([HAVE_EXIF], [1],
|
|
[Define to 1 if the PHP extension 'exif' is available.])
|
|
PHP_NEW_EXTENSION([exif],
|
|
[exif.c],
|
|
[$ext_shared],,
|
|
[-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1])
|
|
PHP_ADD_EXTENSION_DEP(exif, mbstring, true)
|
|
fi
|