php-5.2.11: Upgrade to 5.2.12 to fix various issues
[openembedded.git] / recipes / php / php-5.2.12 / acinclude-xml2-config.patch
1 --- /orig-acinclude.m4 2007-02-20 15:03:25.000000000 +0200
2 +++ /acinclude.m4      2007-02-20 15:03:24.000000000 +0200
3 @@ -2359,12 +2359,9 @@
4  AC_DEFUN([PHP_SETUP_LIBXML], [
5  AC_CACHE_CHECK([for xml2-config path], ac_cv_php_xml2_config_path,
6  [
7 -  for i in $PHP_LIBXML_DIR /usr/local /usr; do
8 -    if test -x "$i/bin/xml2-config"; then
9 -      ac_cv_php_xml2_config_path="$i/bin/xml2-config"
10 -      break
11 -    fi
12 -  done
13 +
14 +      ac_cv_php_xml2_config_path="$PHP_LIBXML_DIR/xml2-config"
15 +
16  ])
17
18    if test -x "$ac_cv_php_xml2_config_path"; then