summaryrefslogtreecommitdiff
path: root/ext/exif
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2008-06-23 18:40:29 +0000
committerPierre Joye <pajoye@php.net>2008-06-23 18:40:29 +0000
commit41976c7ab67b6624cd661eae7c8ae0565874d465 (patch)
tree091b13cb5be71b4c1ea3760aab2d7c8add656ca0 /ext/exif
parent019c5861910b6c1d5669472d3202c5d5b2161993 (diff)
downloadphp-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.w3210
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"
+ }
}