Re: [PATCH] libtool: LT_PATH_NM: default to ${ac_tool_prefix}nm

Mike Frysinger <[email protected]>
Newsgroups gmane.comp.gnu.libtool.patches
Organization wh0rd.org
Message-ID <[email protected]>
On Saturday 27 April 2013 13:53:28 Peter Rosin wrote:
> On 2013-04-27 07:58, Mike Frysinger wrote:
> > The current code tries to locate a compatible nm tool.  It starts with
> > a prefixed nm tool (great!) and includes a plain nm too (that's fine).
> > The problem is that the code searches for the prefixed nm before the
> > plain nm (normally fine), but doesn't break once it has found a valid
> > match.  It does this so that it if it finds an "OK", but "not great",
> > tool, it'll keep on searching.
> 
> I agree this sounds like the wrong this to do, but isn't it better to
> just break all the way out when a "great" nm is found?

for some reason i thought the [n] arg to break wasn't portable.  this should 
work though.
-mike
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)

iQIcBAABAgAGBQJRfDdPAAoJEEFjO5/oN/WBl7EP/0jKgOsb/DyBLlSe7rhWfejX
bVK3GJMgU1mfNF+it7Exxe/DavE40Pa2FYtohneEVt/ESmyp8sNDmOxnq2Rq+kzT
eM2JBfOC9tajAfRGEtXOXWeMiHLGEzv2JXGRFjGpk3jNvuMj/l/hVxSqSYEjMv/X
lcXZfEdK4wyFbcCvM/aRlREJe89+m43VPfkPuuGUzG74VBqAH3qap2SFdLjzvu4e
2v68vLqGR01HNZ8avRumWxWYOfpJr8haoqKe0MpzGbqTZq9sumsxk7lQPFyF4roi
Y2w95iXEwfNb3+FU8zFFEmSLt6oFRttNveuYueG3e/cDpstVCL9Ytl0XDk25NzoW
LvAMnovnE3XMhqAGycoydM3ICoDgBCLuwyCDp3V2LBFQBcLqekWOLk6p9RxEndWe
5iANOzGtI8F4nNPpyi9MYXpgkQLUmwFfYOCtfAWMsEh30czfW4aO8dcIloZydAC0
oFNliViOqLpJz2tm5hAkHjCJVbPcm+iPhpb0MspVBOQYqkBt1TfS746nCgM5HuTi
Rqs06XPOBp5ZKYRlk1RFlv+G1sixCAtRl4Tq1w9qs5IvKOAxMwx5CrRMr/FdjTDw
P3h07bJ6+bmSyWdIMKWL+xu93MqTfv+Z40GDgQIvtgxwFbEd27G33KaQEWxqObyd
BwoQtm7BCvTAbHqcVK4C
=4W2d
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.