Skip to content

Commit f56895f

Browse files
committed
Merge branch 'PHP-7.4'
2 parents fdb85a8 + e93d6d9 commit f56895f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

configure.ac

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,8 +1136,7 @@ if test "$PHP_CLI" = "no"; then
11361136
fi
11371137

11381138
PHP_ARG_WITH(pear, [whether to install PEAR],
1139-
[ --with-pear=DIR Install PEAR in DIR @<:@PREFIX/lib/php@:>@
1140-
--without-pear Do not install PEAR], DEFAULT, yes)
1139+
[ --with-pear=DIR Install PEAR in DIR @<:@PREFIX/lib/php@:>@], no, yes)
11411140

11421141
if test "$PHP_PEAR" != "no"; then
11431142

@@ -1153,10 +1152,12 @@ if test "$PHP_PEAR" != "no"; then
11531152
AC_MSG_ERROR([$pear_error_msg])
11541153
fi
11551154

1155+
AC_MSG_WARN([The --with-pear option is deprecated])
1156+
11561157
install_pear="install-pear"
11571158
PEAR_INSTALLDIR=$PHP_PEAR
11581159

1159-
if test "$PHP_PEAR" = "DEFAULT" || test "$PHP_PEAR" = "yes"; then
1160+
if test "$PHP_PEAR" = "yes"; then
11601161
case $PHP_LAYOUT in
11611162
GNU) PEAR_INSTALLDIR=$datadir/pear;;
11621163
*) PEAR_INSTALLDIR=$libdir/php;;

0 commit comments

Comments
 (0)