📄 configure
字号:
:#!/bin/sh#+---------------------------------------------------------------------# ECU Configure## PEDANTIC not recommended unless you want to do extensive# vendor-supplied header file hacking.#----------------------------------------------------------------------#+:EDITS:*/#:09-10-1992-13:58-wht@n4hgf-ECU release 3.20#:08-22-1992-15:37-wht@n4hgf-ECU release 3.20 BETA#:07-09-1992-18:09-wht@n4hgf-ecunumrev a bad idea#:07-07-1992-16:30-wht@gyro-add ecunumrev to config#:08-25-1991-05:11-wht@n4hgf2-added Sun n4hgf2 WHT automation#:08-06-1991-05:05-wht@n4hgf-change FASI_IN_USE to FASI#:07-12-1991-14:05-wht@n4hgf-ensure config.c compiles properly#:04-29-1991-02:39-wht@n4hgf-document/clean# --> add any of the following (99% of everybody will want to leave alone)# -DFASI if you have installed and want to exploit the features# of my FAS instrumentation extensions# -DMORSE if you have installed and want to use the n4hgf morse driver# -DPEDANTIC if you want to use -ansi -pedantic with gcc (not# necessary or recommended unless you anticipate heavy# code modification)# -DMETROLINK_X11R4_PTS if you have early 'pts-using' Metro Link# xtermsCFLAGS=# a bit of self indulgence for me (ignore it or be inspired)SYSTEM=[ -f /etc/systemid ] && SYSTEM=`cat /etc/systemid`[ "$SYSTEM" = "n4hgf" ] && CFLAGS='-DWHT'[ -f /etc/hostname.le0 ] && SYSTEM=`cat /etc/hostname.le0`[ "$SYSTEM" = "n4hgf2" ] && CFLAGS='-DWHT'echo Please wait while I compile the config program.rm -f ./configcc $CFLAGS config.c -o config > /tmp/config.cc.log 2>&1[ -x ./config ] && rm -f /tmp/config.cc.log[ -x ./config ] || echo '/tmp/config.cc.log has compile errors'./config#end of Configure
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -