diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-01-11 14:15:18 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-01-15 10:15:05 +0100 |
commit | 19d8a6b771a1d8d458583772703a5bb1a1276274 (patch) | |
tree | de863df986e5c50056d43d434855bcc5fba1d183 /ext/gd/libgd/gd_webp.c | |
parent | 61d00c0c55ebbc2fa59af35befd2f61a80571675 (diff) | |
download | php-git-19d8a6b771a1d8d458583772703a5bb1a1276274.tar.gz |
Migrate ext/gd to pkg-config
* --with-webp-dir becomes --with-webp
* --with-jpeg-dir becomes --with-jpeg
* --with-png-dir is removed. libpng is required.
* --with-zlib-dir is removed. zlib is required.
* --with-xpm-dir becomes --with-xpm.
We also enable --with-webp on Travis.
Diffstat (limited to 'ext/gd/libgd/gd_webp.c')
-rw-r--r-- | ext/gd/libgd/gd_webp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/gd/libgd/gd_webp.c b/ext/gd/libgd/gd_webp.c index 51295797f5..bcd8008eab 100644 --- a/ext/gd/libgd/gd_webp.c +++ b/ext/gd/libgd/gd_webp.c @@ -1,10 +1,11 @@ -#ifdef HAVE_LIBWEBP #include <stdio.h> #include <math.h> #include <string.h> #include <stdlib.h> #include "gd.h" #include "gdhelpers.h" + +#ifdef HAVE_LIBWEBP #include "webp/decode.h" #include "webp/encode.h" |