From bcb2214e9951b271d073314870bf09a6a87435f5 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sat, 13 Nov 1999 16:51:33 +0000 Subject: Improve regex library selection. It lets user specify whether they want system, apache, or php's regex library by using the --with-regex option. "php" is the default; if you use --with-apache in combination with Apache 1.3.x, the default is "apache". --- ext/ereg/php_regex.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/ereg/php_regex.h') diff --git a/ext/ereg/php_regex.h b/ext/ereg/php_regex.h index 46618379af..91cbd994c4 100644 --- a/ext/ereg/php_regex.h +++ b/ext/ereg/php_regex.h @@ -1,7 +1,7 @@ #ifndef _PHP_REGEX_H #define _PHP_REGEX_H -#if REGEX +#if REGEX == 1 #include "regex/regex.h" #ifndef _REGEX_H #define _REGEX_H 1 /* this should stop Apache from loading the system version of regex.h */ @@ -18,7 +18,7 @@ #ifndef _H_REGEX #define _H_REGEX 1 /* This one is for AIX */ #endif -#else +#elif REGEX == 0 #include #endif -- cgit v1.2.1