aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2010-09-22 20:44:02 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2010-09-22 20:44:02 +0000
commit3fc2001e473c37cf0a57e7bbb94cca1892d9d318 (patch)
treed694f5c07d790c81c8996bd1a34f892ee8706650 /chapter06
parentc9a1efd4bbad1824bfcdf18a4fde55d76837a9a3 (diff)
Move the fix for the Autoconf underquoting bug from Pkg-config to Autoconf.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9392 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/autoconf.xml5
-rw-r--r--chapter06/pkg-config.xml6
2 files changed, 5 insertions, 6 deletions
diff --git a/chapter06/autoconf.xml b/chapter06/autoconf.xml
index 97fc0daa6..c4990b8e2 100644
--- a/chapter06/autoconf.xml
+++ b/chapter06/autoconf.xml
@@ -41,6 +41,11 @@
<sect2 role="installation">
<title>Installation of Autoconf</title>
+ <para>Fix an underquoting bug in Autoconf that causes the regeneration of
+ configuration scripts of some packages outside of LFS to fail:</para>
+
+<screen><userinput remap="pre">sed -i -e 's/])m4_defun/[]&amp;/' lib/m4sugar/m4sugar.m4</userinput></screen>
+
<para>Prepare Autoconf for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
diff --git a/chapter06/pkg-config.xml b/chapter06/pkg-config.xml
index 4dd4f36ea..ceb9581cf 100644
--- a/chapter06/pkg-config.xml
+++ b/chapter06/pkg-config.xml
@@ -42,12 +42,6 @@
<sect2 role="installation">
<title>Installation of Pkg-config</title>
- <para>First fix a problem with underquoting that shows up in later versions of
- <command>autoconf</command>:</para>
-
-<screen><userinput remap="pre">sed -i -e 's/XT])dnl/XT])[]dnl/' \
- -e 's/\.])dnl/\.])[]dnl/' pkg.m4</userinput></screen>
-
<para>Prepare Pkg-config for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>