Ignore:
Timestamp:
Apr 5, 2014, 6:47:29 AM (10 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
b539b9b
Parents:
02b1667
Message:

Add M4=m4 during configure so bison and flex don't hardcode m4 to /tools/bin/m4. The m4 used will depend on the path or the M4 variable when running bison or flex in userland. In this case for a default CLFS build, it will be /usr/bin/m4.

Location:
BOOK/final-system/common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/bison.xml

    r02b1667 r6244322  
    2525    <title>Installation of Bison</title>
    2626
    27     <para os="t3">The <command>configure </command>script does not determine
    28     the correct value for the following. Set the value manually:</para>
    29 
    30 <screen os="t4"><userinput>echo "ac_cv_prog_lex_is_flex=yes" &gt; config.cache</userinput></screen>
    31 
    3227    <para os="a">Prepare Bison for compilation:</para>
    3328
    34 <screen os="b"><userinput>./configure --prefix=/usr --cache-file=config.cache</userinput></screen>
     29<screen os="b"><userinput>M4=m4 ./configure --prefix=/usr</userinput></screen>
    3530
    3631    <para os="c">Compile the package:</para>
  • BOOK/final-system/common/flex.xml

    r02b1667 r6244322  
    2828    <para os="a">Prepare Flex for compilation:</para>
    2929
    30 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
     30<screen os="b"><userinput>M4=m4 ./configure --prefix=/usr</userinput></screen>
    3131
    3232    <para os="c">Compile the package:</para>
Note: See TracChangeset for help on using the changeset viewer.