]> granicus.if.org Git - php/commitdiff
Allow pcre.h to be in $PREFIX/include/pcre since this is the case
authorEdin Kadribasic <edink@php.net>
Tue, 23 Jul 2002 13:03:03 +0000 (13:03 +0000)
committerEdin Kadribasic <edink@php.net>
Tue, 23 Jul 2002 13:03:03 +0000 (13:03 +0000)
with some Linux distributions (patch by Troels Arvin <troels@arvin.dk>).

ext/pcre/config.m4

index cf973fe05218ab40f558aefdef4c6f336cd4e54f..8e1a6f7f3e7431042d4d591bda99ad4909e72466 100644 (file)
@@ -25,6 +25,7 @@ if test "$PHP_PCRE_REGEX" != "no"; then
   else
     test -f $PHP_PCRE_REGEX/pcre.h && PCRE_INCDIR=$PHP_PCRE_REGEX
     test -f $PHP_PCRE_REGEX/include/pcre.h && PCRE_INCDIR=$PHP_PCRE_REGEX/include
+    test -f $PHP_PCRE_REGEX/include/pcre/pcre.h && PCRE_INCDIR=$PHP_PCRE_REGEX/include/pcre
     
     if test -z "$PCRE_INCDIR"; then
       AC_MSG_RESULT(Could not find pcre.h in $PHP_PCRE_REGEX)