I think this file needs to be renamed; the 5.0.0 build fails using
mbregex and pcre with bundled pcre, for instance, since the bundled pcre
picks up the wrong php_compat.h and the #define pcre_* aren't picked up.
Renaming it to php_oniguruma.h and changing the #include fixes the
build.
Index: oniguruma.h
RCS file: /repository/php-src/ext/mbstring/oniguruma/oniguruma.h,v
retrieving revision 1.3
diff -u -r1.3 oniguruma.h
--- oniguruma.h 4 Mar 2004 21:50:20 -0000 1.3
+++ oniguruma.h 18 Jul 2004 13:11:50 -0000
@@ -8,7 +8,7 @@
#ifndef ONIGURUMA_H
#define ONIGURUMA_H
-#include "php_compat.h"
+#include "php_oniguruma.h"
#define ONIGURUMA
#define ONIGURUMA_VERSION_MAJOR 2
joe
done (VPATH fix applied as well).
Joe Orton wrote:
I think this file needs to be renamed; the 5.0.0 build fails using
mbregex and pcre with bundled pcre, for instance, since the bundled pcre
picks up the wrong php_compat.h and the #define pcre_* aren't picked up.Renaming it to php_oniguruma.h and changing the #include fixes the
build.