From: Larry W. V. <lv...@ca...> - 2000-08-25 14:14:21
|
> (actually this is the old rule, Tcl just did not follow it). Weird - I always seemed to get what I wanted out of any configure by setting the CC variable (and the CCC variable when setting the C++ compiler). A few notes for configure writers : If you activate an enable flag, PLEASE activate a disable flag! That was my only gripe about the enable-gcc flag. If you activate other specialty flags, indicate clearly in the help whether the flag is a boolean (with the option to indicate the negative as well) or indicate what specifically the flag is wanting indicated *by example* . I've seen --help output which sometimes wants you to specify --with-stuff as a boolean, sometimes with an add-on value --with-other=stuff. If you need a directory, indicate by example where in the tree you want. Sometimes extentions want the top of the source tree, sometimes they want the top of an installation directory (which may NOT be the top of the Tcl installation directory!), and sometimes they want some subdirectory in one of these. If your extension is installing binary components, be sure to check the exec-prefix for configure for the path where the user wants binaries installed. If your extension is purely tcl, give the user the option of installing a symlink or provide a shell wrapper that points to the real source directory. That provides an easier way to move between releases... -- Never apply a Star Trek solution to a Babylon 5 problem. Larry W. Virden <mailto:lv...@ca...> <URL: http://www.purl.org/NET/lvirden/> Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- -- The TclCore mailing list is sponsored by Ajuba Solutions To unsubscribe: email tcl...@aj... with the word UNSUBSCRIBE as the subject. |