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

📄 autoconf.html

📁 lfs3.1 从源代码构建linux。html版本。
💻 HTML
字号:
<HTML><HEAD><TITLE>Installing Autoconf-2.52</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.63"><LINKREL="HOME"TITLE="Linux From Scratch"HREF="../index.html"><LINKREL="UP"TITLE="Installing basic system software"HREF="../chapter06/chapter06.html"><LINKREL="PREVIOUS"TITLE="Installing Texinfo-4.0"HREF="../chapter06/texinfo.html"><LINKREL="NEXT"TITLE="Installing Automake-1.5"HREF="../chapter06/automake.html"></HEAD><BODYCLASS="sect1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">Linux From Scratch: Version 3.1</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="../chapter06/texinfo.html">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Chapter 6. Installing basic system software</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="../chapter06/automake.html">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="sect1"><H1CLASS="sect1"><ANAME="ch06-autoconf">6.20. Installing Autoconf-2.52</A></H1><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen">Estimated build time:           1 minuteEstimated required disk space:  4 MB</PRE></FONT></TD></TR></TABLE><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2345">6.20.1. Installation of Autoconf</A></H2><P>Autoconf-2.52 is known to be too new for someapplications. KDE-CVS is mostly reported not to work well with thisautomake release and downgrading to version 2.13 is recommended if youstart experiencing any problems with this release.</P><P>Install Autoconf by running the following commands:</P><P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><FONTCOLOR="#000000"><PRECLASS="screen"><TTCLASS="userinput"><B>./configure --prefix=/usr &#38;&#38;make &#38;&#38;make install</B></TT></PRE></FONT></TD></TR></TABLE></P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2352">6.20.2. Contents</A></H2><P>The Autoconf package contains the autoconf, autoheader, autoreconf,autoscan, autoupdate and ifnames programs</P></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2355">6.20.3. Description</A></H2><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2357">6.20.3.1. autoconf</A></H3><P>Autoconf is a tool for producing shell scripts that automaticallyconfigure software source code packages to adapt to many kinds ofUNIX-like systems.  The configuration scripts produced by Autoconf areindependent of Autoconf when they are run, so their users do not need tohave Autoconf.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2360">6.20.3.2. autoheader</A></H3><P>The autoheader program can create a template file of C #definestatements for configure to use</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2363">6.20.3.3. autoreconf</A></H3><P>If there are a lot of Autoconf-generated configure scripts, theautoreconf program can save some work.  It runs autoconf (andautoheader, where appropriate) repeatedly to remake the Autoconfconfigure scripts and configuration header templates in the directorytree rooted at the current directory.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2366">6.20.3.4. autoscan</A></H3><P>The autoscan program can help to create a configure.in file fora software package. autoscan examines source files in the directorytree rooted at a directory given as a command line argument, or thecurrent directory if none is given.  It searches the source files forcommon portability problems and creates a file configure.scan whichis a preliminary configure.in for that package.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2369">6.20.3.5. autoupdate</A></H3><P>The autoupdate program updates a configure.in file that callsAutoconf macros by their old names to use the current macro names.</P></DIV><DIVCLASS="sect3"><H3CLASS="sect3"><ANAME="AEN2372">6.20.3.6. ifnames</A></H3><P>ifnames can help when writing a configure.in for a softwarepackage. It prints the identifiers that the package already uses in Cpreprocessor conditionals. If a package has already been set up tohave some portability, this program can help to figure out what itsconfigure needs to check for. It may help fill in some gaps in aconfigure.in generated by autoscan.</P></DIV></DIV><DIVCLASS="sect2"><H2CLASS="sect2"><ANAME="AEN2375">6.20.4. Dependencies</A></H2><P>Autoconf-2.52 needs the following to be installed:</P><PCLASS="literallayout"><br>sh&nbsp;from&nbsp;the&nbsp;bash&nbsp;package<br><br>cmp&nbsp;from&nbsp;the&nbsp;diffutils&nbsp;package<br><br>chmod&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br>cp&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br>ls&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br>mkdir&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br>mv&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br>rm&nbsp;from&nbsp;the&nbsp;fileutils&nbsp;package<br><br>m4&nbsp;from&nbsp;the&nbsp;m4&nbsp;package<br><br>make&nbsp;from&nbsp;the&nbsp;make&nbsp;package<br><br>perl&nbsp;from&nbsp;the&nbsp;perl&nbsp;package<br><br>sed&nbsp;from&nbsp;the&nbsp;sed&nbsp;package<br><br>basename&nbsp;from&nbsp;the&nbsp;sh-utils&nbsp;package<br>expr&nbsp;from&nbsp;the&nbsp;sh-utils&nbsp;package<br><br>cat&nbsp;from&nbsp;the&nbsp;textutils&nbsp;package<br>tr&nbsp;from&nbsp;the&nbsp;textutils&nbsp;package<br></P></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="../chapter06/texinfo.html">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../index.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="../chapter06/automake.html">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Installing Texinfo-4.0</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="../chapter06/chapter06.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Installing Automake-1.5</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

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