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. _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf