]> granicus.if.org Git - php/commitdiff
- fix PCRE_INCDIR for external libpcre
authorMichael Wallner <mike@php.net>
Sat, 19 Nov 2005 10:30:52 +0000 (10:30 +0000)
committerMichael Wallner <mike@php.net>
Sat, 19 Nov 2005 10:30:52 +0000 (10:30 +0000)
ext/filter/config.m4

index 4740a0e6d2458648afa2eb2de48762d674bd0df7..149909505ac2f1e304d91aeff723bcef8ea4dedd 100644 (file)
@@ -57,10 +57,10 @@ yes
 
       for i in $PCRE_SEARCH_DIR; do
         if test -f $i/include/pcre/pcre.h; then
-          PCRE_INCDIR=$i
+          PCRE_INCDIR=$i/include/pcre
           break
         elif test -f $i/include/pcre.h; then
-          PCRE_INCDIR=$i
+          PCRE_INCDIR=$i/include
           break
         elif test -f $i/pcre.h; then
           PCRE_INCDIR=$i