Hi Marcel, On Sat, Nov 07, 2009 at 03:26:57PM +0100, Marcel Holtmann wrote: > > I've tested with autoconf/aclocal 2.60, 2.61, 2.62, 2.63, 2.63b and 2.64 > > now and none of them substitutes $NM, so I'm still wondering how this > > can work for you; there is nothing in config.log which looks like > > configure sets the NM variable for you. > > > > Do you have set the $NM variable in your shell environment? > > > > Although the patch above is uggly, I still think that it is the right > > solution, at least as long as we don't have a "fixed" autoconf. > > Unfortunately, I don't find the AC_PROG_NM documentation - it is not > > mentioned in autoconf.info. > > I have it in /usr/share/aclocal/libtool.m4 and it actually does AC_SUBST > properly. Maybe your libtool version has the bug.
Which libtool version did you use? I have a box with an old 1.5.26 here (from Debian lenny) and it doesn't AC_SUBST(). I've checked the libtool releases from gnu.org and it looks like between libtool-1.x and libtool-2.x the change has happened. In newer libtool versions the macro is called LT_PATH_NM and does the AC_SUBST. So the right fix will probably be to check for libtool >= 2. rsc -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
