-+dnl if test "$PHP_XML" = "no"; then
-+dnl pear_error_msg="$pear_error_msg
-+dnl PEAR requires XML to be enabled. Add --enable-xml to the configure line. (or --without-pear)"
-+dnl fi
-+dnl
- dnl
- dnl if test "$PHP_XMLRPC" = "no"; then
- dnl pear_error_msg="$pear_error_msg
+- if test "$pear_error_msg"; then
+- AC_MSG_ERROR([$pear_error_msg])
+- fi
+-
+ install_pear="install-pear"
+ PEAR_INSTALLDIR=$PHP_PEAR
+