I'm not sure this is the right place to document this.
2001-03-06 Alexandre Duret-Lutz <[EMAIL PROTECTED]>
* automake.texi (Requirements): Document the use of the STRIP
variable in cross-compilation environments.
diff -ru ../automake-1.4e-2001-02-27/automake.texi ./automake.texi
--- ../automake-1.4e-2001-02-27/automake.texi Mon Feb 26 15:56:43 2001
+++ ./automake.texi Tue Mar 6 21:14:30 2001
@@ -934,6 +934,24 @@
@cvindex AC_OUTPUT
@end table
+You may need the following macros in some conditions, even though they
+are not required.
+
+@table @code
+@item AC_CHECK_TOOL([STRIP],[strip])
+@cindex STRIP, how to setup
+@cindex install-strip and STRIP
+@cvindex AC_CHECK_TOOL([STRIP],[strip])
+Installed binaries are usually stripped using @code{strip} when you run
+@code{make install-strip}. However @code{strip} might not be the
+right tool to use in cross-compilation environments, therefore
+Automake will honor the @code{STRIP} environment variable to overrule
+the program used to perform stripping. Automake will not set @code{STRIP}
+itself. If your package is not setup for cross-compilation you do not
+have to care (@code{strip} is ok), otherwise you can set @code{STRIP}
+automatically by calling @code{AC_CHECK_TOOL([STRIP],[strip])} from
+your @file{configure.in}.
+@end table
@node Optional, Invoking aclocal, Requirements, configure
@section Other things Automake recognizes
--
Alexandre Duret-Lutz