Skip to content

Commit f1499e3

Browse files
authored
changes: remove the useless pcre config.
1 parent cafa6f5 commit f1499e3

File tree

1 file changed

+0
-39
lines changed

1 file changed

+0
-39
lines changed

config

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -405,45 +405,6 @@ fi
405405

406406
# ----------------------------------------
407407

408-
if [ $USE_PCRE = YES -o $PCRE != NONE ] && [ $PCRE != NO -a $PCRE != YES ] && [ $PCRE2 != YES ]; then
409-
# force pcre_version symbol to be required when PCRE is statically linked
410-
case "$NGX_PLATFORM" in
411-
Darwin:*)
412-
ngx_feature="require defined symbols (-u)"
413-
ngx_feature_name=
414-
ngx_feature_path=
415-
ngx_feature_libs="-Wl,-u,_strerror"
416-
ngx_feature_run=no
417-
ngx_feature_incs="#include <stdio.h>"
418-
ngx_feature_test='printf("hello");'
419-
420-
. auto/feature
421-
422-
if [ $ngx_found = yes ]; then
423-
CORE_LIBS="-Wl,-u,_pcre_version $CORE_LIBS"
424-
fi
425-
;;
426-
427-
*)
428-
ngx_feature="require defined symbols (--require-defined)"
429-
ngx_feature_name=
430-
ngx_feature_path=
431-
ngx_feature_libs="-Wl,--require-defined=strerror"
432-
ngx_feature_run=no
433-
ngx_feature_incs="#include <stdio.h>"
434-
ngx_feature_test='printf("hello");'
435-
436-
. auto/feature
437-
438-
if [ $ngx_found = yes ]; then
439-
CORE_LIBS="-Wl,--require-defined=pcre_version $CORE_LIBS"
440-
fi
441-
;;
442-
esac
443-
fi
444-
445-
# ----------------------------------------
446-
447408
USE_MD5=YES
448409
USE_SHA1=YES
449410

0 commit comments

Comments
 (0)