Maurice Lombardi wrote:
All of this is in diff24.new. As the file name says, I suggest to apply this instead of Maurice's diff24, for the reasons given above.
I agree. This is better.
I have made corresponding changes for pascal/bgi (diff25) and checked them.
Did you confuse the file names? What you sent is the same diff25 you sent last time (resolution in imgviever).
Anyway, even for manual editing (which should always be documented for djgpp and mingw minimal configurations), it must be added after "edit makedefs.grx":
If you plan to use pascal (gpc), and not use configure, edit the files pascal/grx.pas and pascal/bgi/graph.pas to uncomment the {$L ...} instructions (near the beginning) to load the auxiliary libraries (png jpeg tiff z) you have.
For the configure script I have found a problem with djgpp (and presumably also mingw): if you have all libraries, a prefix, a fontpath and a libsubdir, you overcome the 126 chars dos limit for length of command line. [...] The solution is to enable shortcuts e.g., -en- for --enable- and -di- for --disable-
OK.
Furthermore I see no reason not to keep separate libsubdirs with default names like previously. (this will save an option):
Oh, that's where the libraries are built, I see. I had assumed it's where to install the libraries, and in this case, it would have seemed strange to me to use a prefix (like /usr/local/lib/unix/libgrx.a). Now, I agree to keep the prefix (in fact, I'll remove the option to change the libsubdir from configure since it's more like an internal setting which the user shouldn't normally need to change).
All in diff27 (assuming your patch is diff26), including the readme addition.
compiling both djgpp and mingw in the same tree is probably not so an unlikely issue
BTW (I don't care much myself, just curious): How about building, say Linux console and X11? Shouldn't they use different libsubdirs also?
(and libraries are currently not deleted with clean).
BTW, some other files (fnt2c, bin2c, xmodetest in bin) are also not deleted with clean. Is this intentional, or should I add them to the clean rules?
Frank