diff options
author | foobar <sniper@php.net> | 2001-06-04 02:05:06 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2001-06-04 02:05:06 +0000 |
commit | 1577206f4ec82448f52b32206ca02a96a4aa8b01 (patch) | |
tree | 095c5faaa407f16d2b32aa0f4ab128b923d4631d | |
parent | 8962f1506ca798c9c85d636fa0a03a09acedebf0 (diff) | |
download | php-git-1577206f4ec82448f52b32206ca02a96a4aa8b01.tar.gz |
MFH
-rw-r--r-- | ext/standard/config.m4 | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/ext/standard/config.m4 b/ext/standard/config.m4 index d1c7cfd5a0..8f432bd052 100644 --- a/ext/standard/config.m4 +++ b/ext/standard/config.m4 @@ -199,8 +199,23 @@ AC_FLUSH_IO divert(5)dnl AC_ARG_WITH(regex, -[ --with-regex=TYPE regex library type: system, apache, php],[ - REGEX_TYPE=$withval +[ --with-regex=TYPE regex library type: system, apache, php], +[ + case $withval in + system) + REGEX_TYPE=system + ;; + apache) + REGEX_TYPE=apache + ;; + php) + REGEX_TYPE=php + ;; + *) + REGEX_TYPE=php + AC_MSG_WARN(Invalid regex library type. Using default value: php) + ;; + esac ],[ REGEX_TYPE=php ]) |