summaryrefslogtreecommitdiff
path: root/packages/php/php-5.1.4/acinclude-xml2-config.patch
blob: 84d180ea8c2c840caf20b9ab1ffda48612545ca7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- /orig-acinclude.m4	2007-02-20 15:03:25.000000000 +0200
+++ /acinclude.m4	2007-02-20 15:03:24.000000000 +0200
@@ -2359,12 +2359,9 @@
 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