?? configure
字號:
#!/bin/bashok=0checkinclude(){ printf "checking for $1... " # only the preprocessor is needed check for the libaries if ! gcc -o /dev/null -L /usr/local/lib/ -l$1 check$$.c &> /dev/null; then printf "\n\tYou do not seem to have $1\n" return 1 else echo ok return 0 fi}if [ $1 ]; then echo echo This script takes no arguments. echoficat > check$$.c <<- EOF int main(){}EOF if ! checkinclude netfilter_conntrack; then printf "\tIt can be found at ftp.netfilter.org. " printf "You will also need libnfnetlink.\n" ok=1fiif ! checkinclude netfilter_queue; then printf "\tIt can be found at ftp.netfilter.org.\n" ok=1firm check$$.cechoif [[ $ok -eq 0 ]]; then echo Ready to compile. Say \'make\'. echoelse echo I found problems, but you could try running 'make' anyway.fi
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -