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.
9 lines
329 B
JavaScript
9 lines
329 B
JavaScript
// vim:ft=javascript
|
|
|
|
ARG_ENABLE('exif', 'Exchangeable image information (EXIF) Support', 'no');
|
|
|
|
if(PHP_EXIF != 'no') {
|
|
AC_DEFINE('HAVE_EXIF', 1, "Define to 1 if the PHP extension 'exif' is available.");
|
|
EXTENSION('exif', 'exif.c', null, '/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1');
|
|
ADD_EXTENSION_DEP('exif', 'mbstring', true);
|
|
}
|