autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: $(NM)


From: Noah Misch
Subject: Re: $(NM)
Date: Tue, 18 Apr 2006 11:27:26 -0700
User-agent: Mutt/1.5.6i

On Tue, Apr 18, 2006 at 07:53:13PM +0200, Baurzhan Ismagulov wrote:
> AC_SUBST(NM, "$NM")
> 
> Questions:
> 
> 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
run `make'.

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]