Xft

Mats Lidell matsl at xemacs.org
Fri Jul 4 20:08:10 EDT 2008


>>>>> Stephen wrote:

Stephen> --with-xft[=yes] does nothing; you need to use "--with-xft=[emacs,]
Stephen> [menubars,][tabs,][gauges]" instead.  I'm not sure this is anything
Stephen> but a missing default or a documentation bug. 

>From looking at the source, configure and configure.ac, it seems like
yes does not accomplishes much more than making itself beeing trimmed
from the argument list used for further processing!?

The interesting part ...
----------------------------------------------------------------------
...
case "$with_xft" in
    n | no | non | none )         _xft_all_default=no ;;
    n,* | no,* | non,* | none,* ) _xft_all_default=no ;;
    a | al | all | both )         _xft_all_default=yes ;;
    a,* | al,* | all,* | both,* ) _xft_all_default=yes ;;
    y | yes )                     _require_xft=yes ;;
esac
if test -n "$_xft_all_default$_require_xft"; then
    _with_xft_args=`echo $with_xft | sed -e 's/^[a-z]*\(,\(.*\)\)\{0,1\}$/\2/'`
else
    _with_xft_args=$with_xft
fi
...
(_require_xft isn't used again until it is undefined.)
----------------------------------------------------------------------

What should "yes" mean if not equal to "all"?  Why is there a yes
option at all since the docs doesn't mention it? Am I missing
something?

The same macro is used for sound, database, vdb and error_checking and
I suppose yes gives the same result there.

Yours
-- 
%% Mats




More information about the XEmacs-Beta mailing list