<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;
]>

<sect1 id="ch-temp-system-grep" role="wrap">
  <?dbhtml filename="grep.html"?>

  <title>Grep-&grep-version;</title>

  <indexterm zone="ch-temp-system-grep">
    <primary sortas="a-Grep">Grep</primary>
    <secondary>temporary system</secondary>
  </indexterm>

  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
  href="../../final-system/common/grep.xml"
  xpointer="xpointer(//*[@role='package'])"/>

  <sect2 role="installation">
    <title>Installation of Grep</title>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../final-system/common/grep.xml"
    xpointer="xpointer(//*[@os='a'])"/>

<screen os="ca"><userinput>./configure --prefix=/tools \
   --host=${LFS_TARGET} --disable-perl-regexp</userinput></screen>

    <variablelist os="cb">
      <title>The meaning of the configure options:</title>

      <varlistentry>
        <term><parameter>--disable-perl-regexp</parameter></term>
        <listitem>
          <para>This ensures that the <command>grep</command> program
          does not get linked against a Perl Compatible Regular Expression
          (PCRE) library that may be present on the host but will not be
          available when building the final system.</para>
        </listitem>
      </varlistentry>

    </variablelist>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../final-system/common/grep.xml"
    xpointer="xpointer(//*[@os='c'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../final-system/common/grep.xml"
    xpointer="xpointer(//*[@os='d'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../final-system/common/grep.xml"
    xpointer="xpointer(//*[@os='f'])"/>

    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    href="../../final-system/common/grep.xml"
    xpointer="xpointer(//*[@os='g'])"/>

  </sect2>

  <sect2 role="content">
    <title/>

    <para>Details on this package are located in <xref
    linkend="contents-grep" role="."/></para>

  </sect2>

</sect1>
