Hi, > in this case it might be simpler to check if these commands are available > and not bother checking which OS you actually have. Another simple > alternative is to mandate an environment variable and simply fuss at the > users if it is not set. I doubt there is something like a general bulet > prof OS-detection that would stay upwards compatible.
thanks for your answer, but that's not really what i want to say, maybe i was unclear. I wanted to state that a Makefile that gets copied or installed to other PCs, you can't really rely on the environment variables to be set properly. These conditional parts are not really nice. Why not have an internal variable set at compile time of "make"? Like perl's variables in the module "Config". But the other thing that i really want to ask for: Wouldn't it be useful to have a function like "unlink" or "copy" added, i use them very often, shouldn't that help others too? Then you would have these functions available on ALL platforms. Best regards, Torsten. _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
