diff options
author | Pierre Joye <pajoye@php.net> | 2008-06-23 18:40:29 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2008-06-23 18:40:29 +0000 |
commit | 41976c7ab67b6624cd661eae7c8ae0565874d465 (patch) | |
tree | 091b13cb5be71b4c1ea3760aab2d7c8add656ca0 /ext/exif | |
parent | 019c5861910b6c1d5669472d3202c5d5b2161993 (diff) | |
download | php-git-41976c7ab67b6624cd661eae7c8ae0565874d465.tar.gz |
- do not enable an ext when a lib/header fails
- use MESSAGE in mysql*
- use correct CFLAGS for ext/libxml headers
Diffstat (limited to 'ext/exif')
-rw-r--r-- | ext/exif/config.w32 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ext/exif/config.w32 b/ext/exif/config.w32 index 3ac0108f2d..38466c809c 100644 --- a/ext/exif/config.w32 +++ b/ext/exif/config.w32 @@ -4,7 +4,11 @@ ARG_ENABLE("exif", "exif", "no"); if (PHP_EXIF == "yes") { - EXTENSION("exif", "exif.c"); - AC_DEFINE('HAVE_EXIF', 1, 'Have exif'); - ADD_EXTENSION_DEP('exif', 'mbstring'); + if (ADD_EXTENSION_DEP('exif', 'mbstring')) { + EXTENSION("exif", "exif.c"); + AC_DEFINE('HAVE_EXIF', 1, 'Have exif'); + } else { + WARNING("exif support can't be enabled, libxml is not enabled") + PHP_EXIF = "no" + } } |