-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Allan Clark on 11/17/2009 3:30 AM: > Hi; > > in Autoconf-2.64, AT_TESTED() only works with utilities that would be found > with AC_CHECK_PROGS(). Full pathnames don't work, so tools such as > AC_PATH_PROGS() that report a full pathname cannot be AT_TESTED(). > > The following patch should resolve this -- really all it does is preface a > "/" into the path tested, so that (ie AT_TESTED(@BZCAT@) where BZCAT is > /usr/bin/bzcat) the path "/" is tested, checking ///usr/bin/bzcat, before > testing /bin, checking /bin/usr/bin/bzcat. Nice idea. However, it adds the potential for false positives. A better patch would be to check for an absolute name prior to starting the loop over PATH. I'll work up a patch along those lines. - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9@xxxxxxx -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAksCnrMACgkQ84KuGfSFAYBxOQCeM2W0VCzYeyiJIuPNMMFq2WeB SicAoKnLrn42K+YRwTJisOi/f7N5mvax =3ZKt -----END PGP SIGNATURE----- _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf