File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1136,8 +1136,7 @@ if test "$PHP_CLI" = "no"; then
1136
1136
fi
1137
1137
1138
1138
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)
1141
1140
1142
1141
if test "$PHP_PEAR" != "no"; then
1143
1142
@@ -1153,10 +1152,12 @@ if test "$PHP_PEAR" != "no"; then
1153
1152
AC_MSG_ERROR ( [ $pear_error_msg] )
1154
1153
fi
1155
1154
1155
+ AC_MSG_WARN ( [ The --with-pear option is deprecated] )
1156
+
1156
1157
install_pear="install-pear"
1157
1158
PEAR_INSTALLDIR=$PHP_PEAR
1158
1159
1159
- if test "$PHP_PEAR" = "DEFAULT" || test "$PHP_PEAR" = " yes"; then
1160
+ if test "$PHP_PEAR" = "yes"; then
1160
1161
case $PHP_LAYOUT in
1161
1162
GNU) PEAR_INSTALLDIR=$datadir/pear;;
1162
1163
*) PEAR_INSTALLDIR=$libdir/php;;
You can’t perform that action at this time.
0 commit comments