aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/php/php/acinclude-xml2-config.patch
blob: d0831669f9b093ed724ef94673dc2ddb60ec2443 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Upstream-Status: Pending

diff --git a/acinclude.m4 b/acinclude.m4
index 4fd452e..206fcbf 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2532,12 +2532,9 @@ dnl
 AC_DEFUN([PHP_SETUP_LIBXML], [
 AC_CACHE_CHECK([for xml2-config path], ac_cv_php_xml2_config_path,
 [
-  for i in $PHP_LIBXML_DIR /usr/local /usr; do
-    if test -x "$i/bin/xml2-config"; then
-      ac_cv_php_xml2_config_path="$i/bin/xml2-config"
-      break
-    fi
-  done
+
+      ac_cv_php_xml2_config_path="$PHP_LIBXML_DIR/xml2-config"
+
 ])
 
   if test -x "$ac_cv_php_xml2_config_path"; then
-- 
1.9.3