⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure

📁 larbin是一种开源的网络爬虫/网络蜘蛛
💻
字号:
#!/bin/bash# configure adns(cd adns; ./configure)#configure larbin itselfcat /dev/null > config.hcat /dev/null > config.makeif [ -e /proc/self/status ]; then    echo "#define HAS_PROC_SELF_STATUS" >> config.hfi# find existing programsfunction exists () {    command -v $1 2> /dev/null > /dev/null;}if exists gmake; then    echo "MAKE=gmake" >> config.make    export MAKE=gmakeelse    echo "MAKE=make" >> config.make    export MAKE=makefiif exists gcc; then    echo "CC=gcc" >> config.make    export CC=gccfiif exists g++; then    echo "CXX=g++" >> config.makefi#find libraries to useecho "int main () { return 0; }" > test.cfunction testlib () {    if $CC $1 -o test test.c 2> /dev/null > /dev/null; then        echo "LIBS +=" $1 >> config.make    fi}testlib -pthreadtestlib -lpthreadtestlib -lresolvtestlib -lsockettestlib -lnslrm -f test test.c test.o# run make deptouch .dependtouch adns/.dependtouch src/.dependtouch src/fetch/.dependtouch src/interf/.dependtouch src/utils/.depend$MAKE dep

⌨️ 快捷键说明

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