>>>> Stephen wrote:
>>
>>>> Stephen wrote:
Stephen> Well, no, that's not really right since we can do better.
>
> Fine. So XE_COMPLEX_OPTION needs two defaults then. One default when
> the options isn't mentioned at all and another default when the user
> wants the option but with no details specified? This doesn't sound
> that hard to get right.
Stephen> No. It's just that Malcolm completely rewrote my code so I don't
know
Stephen> how to do it without studying his.
Well it seems like the configure options together with macro language
m4 sooner or later gets you into a twisty little maze of passages
... ;-) Maybe there is a way out somewhere but I haven't found it yet!
Anyway for a little patchy, quick!?, solution this might work. Change
the default to what is wanted when selected and set it back to none
selected in the else path.
--- working directory: "/src/xemacs/xft/"
% hg diff configure.ac
diff -r ec442dc06fe1 configure.ac
--- a/configure.ac Thu Jul 10 23:37:52 2008 +0200
+++ b/configure.ac Sun Jul 13 14:33:48 2008 +0200
@@ -690,9 +690,10 @@
[Xft],
[`emacs' (buffers), `menubars', `tabs', and `gauges'],
[X11, Xft, Xrender, freetype, and fontconfig],
- [`noemacs, nomenubars, notabs, nogauges'])],
- [],[],
- [XE_COMPLEX_OPTION([emacs],[no]),
+ [`noemacs, nomenubars, notabs, nogauges'.
+ The default when selected is `emacs, nomenubars, notabs, nogauges'])],
+ [],[with_xft_emacs=no],
+ [XE_COMPLEX_OPTION([emacs],[yes]),
XE_COMPLEX_OPTION([menubars],[no]),
XE_COMPLEX_OPTION([tabs],[no]),
XE_COMPLEX_OPTION([gauges],[no])])
Yours
--
%% Mats
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta