On 28 Nov 2006, at 20:30, Gregory Martin Pfeil wrote:
> Yeah, my apologies. I should have taken the extra time to separate
> it out on the first submission. In any case, here's the new cleaned
> up patch which just allows configure to be run from locations other
> than the Maxima directory.
And, of course, I just found a bug in it. It breaks the case where
you _do_ use the default. There are two different approaches to fix it.
1. don't call STRING-RIGHT-TRIM in DEFAULT-DIRECTORY-STRING or
2. append a trailing "/" or "\\" to PREFIX depending on if there's
one in the provided path, and whether we're on Windows or not.
I'm guessing the latter is preferred because it allows both Unix- and
Lisp-style pathnames, although the former is cleaner to implement ;)
So, here's a patch for the latter. Sorry for the barrage.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.patch
Type: application/octet-stream
Size: 2507 bytes
Desc: not available
Url : http://www.math.utexas.edu/pipermail/maxima/attachments/20061128/88486629/attachment.obj