[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Tue, 18 Apr 2006 11:27:26 -0700
On Tue, Apr 18, 2006 at 07:53:13PM +0200, Baurzhan Ismagulov wrote:
> AC_SUBST(NM, "$NM")
> 1. Why isn't it available to make by default, like $(CC)?
It should be. Automake needs to regenerate `Makefile.in' to add the `NM = @NM@'
line, but this should happen automatically when you edit `configure.ac' and then
Try regenerating everything. Does `Makefile.in' then contain `NM = @NM@'? If
yes, and it still does not work, perhaps that nothing in `configure' sets $NM.
In that case, you will need to decide how to identify a proper value for $NM and
then set it accordingly.
> 2. $(CC) is the compiler generating code for the host system. What is
> the var containing the name of the compiler generating code for the
> build system?
None of Autoconf, Automake, or Libtool detect such a compiler, so they do not
provide the name of one in any variable. You will need to detect such a
compiler in `configure' and then substitute it in a variable of your choice.
- $(NM), Baurzhan Ismagulov, 2006/04/18