[PATCH] Xft related configure option fixes.

Malcolm Purvis malcolmp at xemacs.org
Thu Dec 1 07:04:08 EST 2005


[Moved from -patches because this is more of a design discussion]

Thanks Stephen for the reply.  It's nice to have a well defined spec for a
change:-)

>>>>> "Stephen" == Stephen J Turnbull <stephen at xemacs.org> writes:

Malcolm> 1) --with-complex not supplied:
Malcolm> with_complex_foo=""
Malcolm> with_complex_bar=""
Malcolm> with_complex_baz=""

Stephen> I want

Stephen> with_complex_foo="yes"
Stephen> with_complex_bar="no"
Stephen> with_complex_baz=""

It should be pointed out that this is slightly different behaviour from the
normal argument case.  In that case if --with-simple is not supplied then the
shell variable with_simple is "".  Any default values have to be supplied by
the user in the ACTION-IF_FALSE part of the AC_WITH_ARG macro.

My proposal was in line with the traditional behaviour but yours I think is
better.

Your desiderata does not address this case:

Malcolm> 4) --with-complex=bar
Malcolm> with_complex_foo=no
Malcolm> with_complex_bar=yes
Malcolm> with_complex_baz=no

(ie, if you explicitly set one or more options, all other options are set to
'no'.

You came up with this requirement with discussing --with-error-checking a few
months ago.  The post can be found at:
http://list-archive.xemacs.org/xemacs-beta/200510/msg00481.html

Is this case still a requirement?

Malcolm

-- 
		     Malcolm Purvis <malcolmp at xemacs.org>




More information about the XEmacs-Beta mailing list