aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorJeremy Utley <jeremy@linuxfromscratch.org>2003-09-12 23:16:54 +0000
committerJeremy Utley <jeremy@linuxfromscratch.org>2003-09-12 23:16:54 +0000
commitdac0f591d2e2ee633d0bc6c3d2b4dbac33ce6f25 (patch)
treee6a51d3b92c07eea3b7b00413a7fc268407440e7 /chapter05
parent9b21339cc6f56c05fabc47f30a0ece72743b33c6 (diff)
Added descriptions to grep configure switches
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2795 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/grep-inst.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/chapter05/grep-inst.xml b/chapter05/grep-inst.xml
index 6051ffd2e..8db7e3e42 100644
--- a/chapter05/grep-inst.xml
+++ b/chapter05/grep-inst.xml
@@ -8,6 +8,17 @@
<para><screen><userinput>./configure --prefix=/tools \
&nbsp;&nbsp;&nbsp;&nbsp;--disable-perl-regexp --with-included-regex</userinput></screen></para>
+<para>The meaning of the configure switches:</para>
+
+<itemizedlist>
+<listitem><para><userinput>--disable-perl-regexp</userinput>: This makes sure
+that grep does not get linked against a PCRE library that may be present on
+the host, but would not be available once we enter the chroot environment.</para></listitem>
+<listitem><para><userinput>--with-included-regex</userinput>: This ensures that
+grep uses it's internal regular expression code. Without it, it will use
+the code from glibc, which is known to be slightly buggy.</para></listitem>
+</itemizedlist>
+
<para>Compile the programs:</para>
<para><screen><userinput>make </userinput></screen></para>