components/php-5_2/idn/patches/idn_config.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Fri, 07 Dec 2012 09:29:14 -0800
changeset 1075 f0a05f4e7b31
parent 461 edabdd6aff23
permissions -rw-r--r--
15951683 xml parsing fails on valid docs

--- idn-0.2.0/config.m4.ORIG	Thu Jan 29 11:40:38 2009
+++ idn-0.2.0/config.m4	Thu Jan 29 11:42:02 2009
@@ -5,8 +5,8 @@
 [  --with-idn[=DIR]        Include GNU Libidn support])
 
 if test "$PHP_IDN" != "no"; then
-  SEARCH_PATH="/usr/local /usr"
-  SEARCH_FOR="/include/idna.h"
+  SEARCH_PATH="/usr/local /usr" 
+  SEARCH_FOR="include/idn/idna.h"
 
   if test -r $PHP_IDN/$SEARCH_FOR; then # path given as parameter
     IDN_DIR=$PHP_IDN
@@ -33,7 +33,7 @@
     AC_MSG_RESULT([no])
   fi
 
-  PHP_ADD_INCLUDE($IDN_DIR/include)
+  PHP_ADD_INCLUDE(/usr/include/idn)
 
   dnl # --with-idn -> check for lib and symbol presence
   LIBNAME=idn