From: sf-exg Date: Thu, 1 Apr 2010 08:10:21 +0000 (+0000) Subject: Hook 256-color support in configure. X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=3b4b39ef2140cf839bb1fbd4a0b6f319ac0de5b4;p=dana%2Furxvt.git Hook 256-color support in configure. --- diff --git a/configure.ac b/configure.ac index 2cbb05a3..190d397b 100644 --- a/configure.ac +++ b/configure.ac @@ -198,6 +198,16 @@ if test x$GXX = xyes; then fi fi +support_256_color=no +AC_ARG_ENABLE(256-color, + [ --enable-256-color enable 256-color support], + [if test x$enableval = xyes; then + support_256_color=yes + fi]) +if test x$support_256_color = xyes; then + AC_DEFINE(USE_256_COLORS, 1, Define if you want 256-color support) +fi + AC_ARG_ENABLE(unicode3, [ --enable-unicode3 use 21 instead of 16 bits to represent unicode characters], [if test x$enableval = xyes -o x$enableval = xno; then diff --git a/doc/rxvt.7.pod b/doc/rxvt.7.pod index e621a9a9..5140f0d5 100644 --- a/doc/rxvt.7.pod +++ b/doc/rxvt.7.pod @@ -1221,12 +1221,6 @@ possibly working workaround is to use a wcwidth implementation like http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c -=head3 I want 256 colors - -Are you sure you need 256 colors? 88 colors should be enough for most -purposes. If you really need more, there is an unsupported patch for -it in the doc directory, but please do not ask for it to be applied. - =head1 RXVT-UNICODE TECHNICAL REFERENCE The rest of this document describes various technical aspects of @@ -2270,6 +2264,10 @@ or you can start with a minimal configuration by specifying C<--disable-everything> and than adding just the C<--enable-...> arguments you want. +=item --enable-256-color (default: off) + +Add support for 256 colors. + =item --enable-xft (default: enabled) Add support for Xft (anti-aliases, among others) fonts. Xft fonts are