We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8962f15 commit 1577206Copy full SHA for 1577206
ext/standard/config.m4
@@ -199,8 +199,23 @@ AC_FLUSH_IO
199
divert(5)dnl
200
201
AC_ARG_WITH(regex,
202
-[ --with-regex=TYPE regex library type: system, apache, php],[
203
- REGEX_TYPE=$withval
+[ --with-regex=TYPE regex library type: system, apache, php],
+[
204
+ case $withval in
205
+ system)
206
+ REGEX_TYPE=system
207
+ ;;
208
+ apache)
209
+ REGEX_TYPE=apache
210
211
+ php)
212
+ REGEX_TYPE=php
213
214
+ *)
215
216
+ AC_MSG_WARN(Invalid regex library type. Using default value: php)
217
218
+ esac
219
],[
220
REGEX_TYPE=php
221
])
0 commit comments