summaryrefslogtreecommitdiff
path: root/ext/gd/config.m4
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2018-11-07 15:13:35 -0500
committerNikita Popov <nikita.ppv@gmail.com>2018-12-26 13:37:39 +0100
commit285a077c1284544e938cd07cfa1fca3d56cf7726 (patch)
treea04a32d01e68aacb4b8048cc35cc9a9e4f1718b2 /ext/gd/config.m4
parentf44d53bb4abf8938492cbf56c1a5bb4e903f3026 (diff)
downloadphp-git-285a077c1284544e938cd07cfa1fca3d56cf7726.tar.gz
ext/gd: use --with instead of --enable
By convention it probably makes sense to stick with this even when dropping the *-dir=DIR part. See: https://github.com/php/php-src/pull/3632#discussion_r229474568 https://autotools.io/autoconf/arguments.html
Diffstat (limited to 'ext/gd/config.m4')
-rw-r--r--ext/gd/config.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/gd/config.m4 b/ext/gd/config.m4
index 70da35facf..fc4d06521d 100644
--- a/ext/gd/config.m4
+++ b/ext/gd/config.m4
@@ -30,8 +30,8 @@ fi
PHP_ARG_WITH(xpm-dir, for the location of libXpm,
[ --with-xpm-dir[=DIR] GD: Set the path to libXpm install prefix], no, no)
-PHP_ARG_ENABLE(freetype, for FreeType 2,
-[ --enable-freetype GD: Enable FreeType 2 support], no, no)
+PHP_ARG_WITH(freetype, for FreeType 2,
+[ --with-freetype GD: Enable FreeType 2 support], no, no)
PHP_ARG_ENABLE(gd-jis-conv, whether to enable JIS-mapped Japanese font support in GD,
[ --enable-gd-jis-conv GD: Enable JIS-mapped Japanese font support], no, no)