From 55505061b459d1a0aa0fa5ac407b4265dbd3f1c9 Mon Sep 17 00:00:00 2001 From: swananan Date: Wed, 10 Jan 2024 22:56:45 +0800 Subject: [PATCH] changes: remove the useless pcre config --- config | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/config b/config index 8db90628..e1470b7a 100644 --- a/config +++ b/config @@ -405,45 +405,6 @@ fi # ---------------------------------------- -if [ $USE_PCRE = YES -o $PCRE != NONE ] && [ $PCRE != NO -a $PCRE != YES ] && [ $PCRE2 != YES ]; then - # force pcre_version symbol to be required when PCRE is statically linked - case "$NGX_PLATFORM" in - Darwin:*) - ngx_feature="require defined symbols (-u)" - ngx_feature_name= - ngx_feature_path= - ngx_feature_libs="-Wl,-u,_strerror" - ngx_feature_run=no - ngx_feature_incs="#include " - ngx_feature_test='printf("hello");' - - . auto/feature - - if [ $ngx_found = yes ]; then - CORE_LIBS="-Wl,-u,_pcre_version $CORE_LIBS" - fi - ;; - - *) - ngx_feature="require defined symbols (--require-defined)" - ngx_feature_name= - ngx_feature_path= - ngx_feature_libs="-Wl,--require-defined=strerror" - ngx_feature_run=no - ngx_feature_incs="#include " - ngx_feature_test='printf("hello");' - - . auto/feature - - if [ $ngx_found = yes ]; then - CORE_LIBS="-Wl,--require-defined=pcre_version $CORE_LIBS" - fi - ;; - esac -fi - -# ---------------------------------------- - USE_MD5=YES USE_SHA1=YES