mod_auth_db.module

来自「apache简化版」· MODULE 代码 · 共 37 行

MODULE
37
字号
Name: db_auth_moduleConfigStart    DB_VERSION=''    DB_LIB=''    if ./helpers/TestCompile func db_open; then        DB_VERSION='Berkeley-DB/2.x'    else        if ./helpers/TestCompile lib db db_open; then            DB_VERSION='Berkeley-DB/2.x'            DB_LIB='-ldb'        else            if ./helpers/TestCompile func dbopen; then                DB_VERSION='Berkeley-DB/1.x'            else                if ./helpers/TestCompile lib db dbopen; then                    DB_VERSION='Berkeley-DB/1.x'                    DB_LIB='-ldb'                fi            fi         fi    fi    if [ ".$DB_VERSION" != . ]; then        if [ ".$DB_LIB" != . ]; then            LIBS="$LIBS $DB_LIB"            echo "      using $DB_VERSION for mod_auth_db ($DB_LIB)"        else            echo "      using $DB_VERSION for mod_auth_db (-lc)"        fi    else        echo "Error: Neither Berkeley-DB/1.x nor Berkeley-DB/2.x library found."        echo "       Either disable mod_auth_db or provide us with the paths"        echo "       to the Berkeley-DB include and library files."        echo "       (Hint: INCLUDES, LDFLAGS, LIBS)"        exit 1    fiConfigEnd

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?