[FE training-materials-updates] labs/autotools-usage: fix config.h related part
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue Jun 2 03:46:39 CEST 2015
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=810ab76f71cb188d69db1326d51aef576d876a9e
>---------------------------------------------------------------
commit 810ab76f71cb188d69db1326d51aef576d876a9e
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date: Mon Jun 1 21:10:36 2015 +0200
labs/autotools-usage: fix config.h related part
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
>---------------------------------------------------------------
810ab76f71cb188d69db1326d51aef576d876a9e
labs/autotools-usage/autotools-usage.tex | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/labs/autotools-usage/autotools-usage.tex b/labs/autotools-usage/autotools-usage.tex
index 1052cd5..643d13e 100644
--- a/labs/autotools-usage/autotools-usage.tex
+++ b/labs/autotools-usage/autotools-usage.tex
@@ -104,7 +104,9 @@ variable to the \code{configure} script.
Bfore doing this change, look at the
\code{config.h} {\em configuration header} and see the value of the
-definition related to \code{strtol}.
+definition related to \code{strtol}. Note that {\em ethtool} decided
+to use a custom name for the {\em configuration header} file, and it's
+actually named \code{ethtool-config.h}.
Read the \code{config.log}, and identify which variable can be used to
override the result of the \code{strtol} test. Pass it in the
@@ -115,8 +117,8 @@ outputs:
checking for strtol... (cached) no
\end{verbatim}
-You can also check in \code{config.h} the new value for definition
-related to \code{strtol}.
+You can also check in \code{ethtool-config.h} the new value for
+definition related to \code{strtol}.
However, it's interesting to notice that in practice the {\em ethtool}
source code assumes \code{strtol} is present, without taking into
More information about the training-materials-updates
mailing list