From 3f2235c907b373df5ae9512e1e9ada97443d9427 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sat, 8 Feb 2025 09:17:21 +0800 Subject: [PATCH] coreutils: Better explain the autoreconf and automake commands --- chapter08/coreutils.xml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/chapter08/coreutils.xml b/chapter08/coreutils.xml index 70eb1e318..1acad31ca 100644 --- a/chapter08/coreutils.xml +++ b/chapter08/coreutils.xml @@ -62,22 +62,28 @@ FORCE_UNSAFE_CONFIGURE=1 ./configure \ --enable-no-install-program=kill,uptime - The meaning of the configure options: + The meaning of the commands and configure options: - autoreconf + autoreconf -fv The patch for internationalization has modified the build system, so the configuration files must - be regenerated. + be regenerated. Normally we would use the + -i option to update the standard + auxilary files, but for this package it does not work because + configure.ac specified an old gettext + version. - automake + automake -af - Work around a problem with an older versions of autotools. - + The automake auxilary files were not updated by + autoreconf due to the missing + -i option. This command updates them + to prevent a build failure.