Nmap Development mailing list archives
Re: [PATCH] Fix configure CXX check for absolute paths
From: Kris Katterjohn <kjak () ispwest com>
Date: Sat, 04 Mar 2006 20:30:02 -0600
Daniel Roethlisberger wrote:
Fyodor <fyodor () insecure org> 2006-03-02:I changed it slightly to put the / at the end of the path rather than the beginning: [...] I hope that still works.That should be ok. / at the end fails with CXX=/foo/bar/c++ when $prefix/bin/foo/bar/c++ exists, and / at the beginning fails with CXX=c++ when /c++ exists (failure meaning the possibility of succeeding the check when no usable CXX was found). Both cases are rather unlikely, and harmless anyway. Cheers, Dan
Couldn't you put them both in there? AC_CHECK_PROG(CXXPROG, "$CXX", "AVAILABLE", "MISSING", /:"$PATH", "$PATH":/) I have to admit I really don't know what I'm doing right here, but I'm still just throwing it out there :) Kris Katterjohn _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev
Current thread:
- [PATCH] Fix configure CXX check for absolute paths Daniel Roethlisberger (Feb 12)
- Re: [PATCH] Fix configure CXX check for absolute paths Fyodor (Mar 02)
- Re: [PATCH] Fix configure CXX check for absolute paths Daniel Roethlisberger (Mar 03)
- Re: [PATCH] Fix configure CXX check for absolute paths Kris Katterjohn (Mar 04)
- Re: [PATCH] Fix configure CXX check for absolute paths Daniel Roethlisberger (Mar 03)
- Re: [PATCH] Fix configure CXX check for absolute paths Fyodor (Mar 02)
