[Cmake] Problems finding programs on FreeBSD
Richard Wackerbarth
rkw at Dataplex.Net
Thu, 18 Mar 2004 17:40:45 -0600
I have two questions :
(1) Which "make" should we find?
It appears that present code prefers the GNU make to any native
system make.
Is this intentional? If so, we need to add "gnumake" to the
list of possible names.
Personally, I would prefer to see the choice of "make" prefer
the native make and
have the option for the project to request/demand the GNU
version.
(2) Tcl has problems on "stock" FreeBSD installs.
FreeBSD has chosen to install tclsh under a name like "tclsh8.3"
However, they also install a stub program under the name "tclsh"
which does not
actually run the tcl shell, but issued a warning informing the
user where he might
find the desired command.
Personally, I don't link that behavior and modify the install on
my system so that "tclsh"
is a link to the current version. But that is not "out of the
box" (package install) behavior.
Would it be bad to test for the named versions "tclsh8.4",
"tcl84", etc. first and check for
"tclsh" last? Or would it be better to actually run a trivial
test program to see if the shell
actually works?
If there is some consensus, I'll be happy to develop patches to
implement these behaviors.
Richard