xref: /php-src/ext/exif/config.m4 (revision 9ee9c0e6)
1PHP_ARG_ENABLE([exif],
2  [whether to enable EXIF (metadata from images) support],
3  [AS_HELP_STRING([--enable-exif],
4    [Enable EXIF (metadata from images) support])])
5
6if test "$PHP_EXIF" != "no"; then
7  AC_DEFINE([HAVE_EXIF], [1],
8    [Define to 1 if the PHP extension 'exif' is available.])
9  PHP_NEW_EXTENSION([exif],
10    [exif.c],
11    [$ext_shared],,
12    [-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1])
13  PHP_ADD_EXTENSION_DEP(exif, mbstring, true)
14fi
15