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

📄 1-2-用于编写configure.in的config语言简介.htm

📁 本文档详细地讲解了linux内核配置所必用的configure.in和config的编写流程和语法。
💻 HTM
📖 第 1 页 / 共 5 页
字号:
mso-hansi-font-family:&quot;Times New Roman&quot;">不能用</span><span lang="EN-US">;(</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">分号</span><span lang="EN-US">)</span><span style="font-family:
宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">来开始一个新行。</span><span lang="EN-US"> 
'if'</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;; 
mso-hansi-font-family:&quot;Times New Roman&quot;">语句中的处可以开始一个新行。</span></p>
<p class="MsoNormal" style="line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="line-height: 150%; margin-top: 0; margin-bottom: 0"><b><span lang="EN-US">3.1</span><span style="font-family:
宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">基本的语法元素</span><span lang="EN-US">:<o:p>
</o:p> 
</span></b></p>
<p class="MsoNormal" style="line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; 
</span>/prompt/</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">——一个位于单引号或双引号内的字符串</span><span lang="EN-US">.  
</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">如果字位于双引号内</span><span lang="EN-US">,</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">它不需要任何</span><span lang="EN-US">$</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">。</span></p>
<p class="MsoNormal" style="line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">/word/</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">——一个未加引号的字</span><span lang="EN-US">,  
</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">位于单引号或双引号内的字符串。如果字未加引号或是位于双引号内的需要</span><span lang="EN-US">$</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">号。</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">/symbol/</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">——一个没有引号的字</span><span lang="EN-US">.  
symbol</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">必须以</span><span lang="EN-US">CONFIG_*</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">的形式出现。</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">/dep/  
</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">——一个相关字</span><span lang="EN-US">. </span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family: 
&quot;Times New Roman&quot;">运行时</span><span lang="EN-US">/dep/ </span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family: 
&quot;Times New Roman&quot;">必须等于</span><span lang="EN-US"> 
&quot;y&quot;, &quot;m&quot;, &quot;n&quot;,</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;; 
mso-hansi-font-family:&quot;Times New Roman&quot;">或</span><span lang="EN-US"> 
&quot;&quot;</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family: 
&quot;Times New Roman&quot;">。</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">/expr/</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">——一类</span><span lang="EN-US">bash</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">的表达式</span><span lang="EN-US">,</span><span style="font-family:
宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">使用以下运算符</span><span lang="EN-US">:'='</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">、</span><span lang="EN-US"> 
'!='</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family: 
&quot;Times New Roman&quot;">、</span><span lang="EN-US"> '-a'</span><span style="font-family: 
宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:&quot;Times New Roman&quot;">、</span><span lang="EN-US"> 
'-o'</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;; 
mso-hansi-font-family:&quot;Times New Roman&quot;">和</span><span lang="EN-US">'!'</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">。</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="line-height: 150%; margin-top: 0; margin-bottom: 0"><b><span lang="EN-US">3.2  
</span><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;mso-hansi-font-family:
&quot;Times New Roman&quot;">所有的语句</span><span lang="EN-US">: <o:p> 
</o:p> 
</span></b></p>
<p class="MsoNormal" style="line-height: 150%; margin-top: 0; margin-bottom: 0"><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">文字语句:</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">mainmenu_name<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; 
</span><span style="mso-spacerun:
yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>/prompt/</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">comment<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</span>/prompt/</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">text<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</span>/prompt/</span></p>
<p class="MsoNormal" style="line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="line-height: 150%; margin-top: 0; margin-bottom: 0"><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">询问语句:</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">bool<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</span>/prompt/ /symbol/</span></p> 
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">hex<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</span>/prompt/ /symbol/ /word/</span></p> 
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">int<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</span>/prompt/ /symbol/ /word/</span></p> 
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">string<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</span>/prompt/ /symbol/ /word/</span></p> 
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">tristate<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</span>/prompt/ /symbol/</span></p> 
<p class="MsoNormal" style="line-height: 150%; margin-top: 0; margin-bottom: 0"><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">字义语句:</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">define_bool<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</span>/symbol/ /word/</span></p> 
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">define_hex<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</span>/symbol/ /word/</span></p> 
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">define_int<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</span>/symbol/ /word/</span></p> 
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">define_string<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</span>/symbol/ /word/</span></p> 
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">define_tristate<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</span>/symbol/ /word/</span></p> 
<p class="MsoNormal" style="line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="line-height: 150%; margin-top: 0; margin-bottom: 0"><span style="font-family:宋体;mso-ascii-font-family:&quot;Times New Roman&quot;;
mso-hansi-font-family:&quot;Times New Roman&quot;">相关语句:</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">&nbsp;<o:p>
</o:p> 
</span></p>
<p class="MsoNormal" style="text-indent: 21.75pt; line-height: 150%; margin-top: 0; margin-bottom: 0"><span lang="EN-US">dep_bool<span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 

⌨️ 快捷键说明

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