INSTALL revision e0a2b6df
1-- $XTermId: INSTALL,v 1.149 2013/08/04 19:33:14 tom Exp $
2-------------------------------------------------------------------------------
3-- Copyright 1997-2012,2013 by Thomas E. Dickey
4--
5--                         All Rights Reserved
6--
7-- Permission is hereby granted, free of charge, to any person obtaining a
8-- copy of this software and associated documentation files (the
9-- "Software"), to deal in the Software without restriction, including
10-- without limitation the rights to use, copy, modify, merge, publish,
11-- distribute, sublicense, and/or sell copies of the Software, and to
12-- permit persons to whom the Software is furnished to do so, subject to
13-- the following conditions:
14--
15-- The above copyright notice and this permission notice shall be included
16-- in all copies or substantial portions of the Software.
17--
18-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21-- IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
22-- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23-- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24-- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25--
26-- Except as contained in this notice, the name(s) of the above copyright
27-- holders shall not be used in advertising or otherwise to promote the
28-- sale, use or other dealings in this Software without prior written
29-- authorization.
30-------------------------------------------------------------------------------
31
32Xterm was originally built as part of the X Window System source tree, using
33imake to generate a Makefile from Imakefile.
34
35An example Imakefile is provided for legacy use.
36
37The preferred method uses the configure script to generate a Makefile from
38Makefile.in
39
40Options:
41-------
42
43Autoconf configure scripts recognize two types of application-defined
44options, enable/disable and with/without.  The latter, by convention, are
45used for denoting inclusion of external packages, while the former denote
46enabling/disabling of internal features.  The configure --help option lists
47the available options.  This script uses "enable" and "disable" to indicate
48the sense of the default behavior.
49
50The options (in alphabetic order):
51
52  --disable-16-color      disable 16-color support
53
54	Do not compile-in code to recognize aixterm-style control sequences
55	that support color values 8-15.
56
57	Most color applications know only about 8 ANSI colors, but some
58	(e.g., ones built with ncurses) do.
59
60  --disable-active-icon   disable X11R6.3 active-icon feature
61
62	Do not compile-in code to support the active-icon feature.  This is
63	not configured on systems (e.g., X11R5) which lack the library
64	support needed.
65
66	Xterms with an active icon continue to respond to input and update
67	their display when iconified.  Not all window managers support
68	active icons.  Those that do include fvwm, olvwm and mwm.
69
70  --disable-ansi-color    disable ANSI color
71
72  	Do not compile-in code for ANSI colors.
73
74  --disable-blink-cursor  disable support for blinking cursor
75
76	Do not compile-in code that implements a blinking cursor.  The blinking
77	cursor is enabled either by resource setting or by popup menu entry.
78
79  --disable-bold-color    disable PC-style mapping of bold colors
80
81	Do not compile-in code that maps colors 8-15 to bold versions of
82	colors 0-7.
83
84	Some applications have hardcoded logic that assumes this.  It does
85	not interfere with the 16-color support.
86
87  --disable-boxchars      disable fallback-support for box chars
88
89  	Do not compile-in code to generate approximations for box/graphic
90	characters.
91
92	Most fonts do not contain the vt100-style graphic characters in
93	positions 0-31.  Many applications use the line-drawing characters,
94	e.g., to make boxes.  When xterm loads a font, it checks if those
95	characters are present, and draws its own if they are missing.
96
97  --disable-broken-st     disallow broken string-terminators],
98
99	Do not compile-in code that works around a bug in some ISDN routers
100	(and possibly other applications written by the same people):  they
101	send an unterminated control string in their banner text, making xterm
102	freeze.
103
104	The workaround tells xterm to stop processing the control string when
105	it receives one of the whitespace control characters such as newline.
106	That was the behavior before patch #171.
107
108	See also --enable-broken-osc
109
110  --disable-c1-print      disallow -k8 option for printable 128-159],
111
112	Use this option to suppress support for nonstandard use of codes
113	128-159, which normally are considered control characters.  Some users
114	have fonts which use those positions.  The default value for the
115	allowC1Printable resource is false, so this feature does not impact
116	normal users.
117
118  --disable-color-class   disable color class resources
119
120	Use this option to change most of the color resources to use Foreground
121	as the color class.  This is the older (before patch #157) behavior
122	which has the drawback that setting the Foreground resource on most
123	platforms prevents use of color since the class is evaluated before
124	the instance.
125
126  --disable-color-mode    disable default colorMode resource
127
128  	Do not compile-in code that sets the default value of the colorMode
129	resource to ``true''.
130
131  --disable-desktop       disable install of xterm desktop files
132
133	Do not install the xterm desktop files, used in menus.
134	These use the icons installed in the --with-icondir option.
135	Use the environment variable $DESKTOP_FLAGS to supply options
136	required by desktop-file-install.
137
138	Note: If desktop-utils is not found they will not be installed anyway.
139
140  --disable-doublechars   disable support for double-size chars
141
142  	Do not compile-in code that supports font-manipulation needed to
143	implement vt100-style double-sized characters.
144
145  --disable-echo          test: display "compiling" commands
146
147  	Modify the generated Makefile so that most compiler options are
148	not shown.  This makes it simpler to read a build log and see the
149	actual warning messages.
150
151  --disable-fifo-lines    enable FIFO-storage for saved-lines
152
153	With patch #244, xterm by default stores saved-lines in a FIFO
154	(circular buffer), which improves performance when the number of saved
155	lines is large.  Disable this option to revert to the pre-244 layout.
156
157  --disable-freetype      disable freetype library-support
158
159 	Do not use freetype libraries if they are found.  Normally they will
160	be used automatically.
161
162  --disable-full-tgetent  disable check for termcap library
163
164  	Do not look for the tgetent() function specifically in the termcap
165	library, accept the first library (from termlib, ncurses and curses)
166	which contains this function rather than continuing to search for
167	a termcap implementation rather than terminfo.  The former would
168	supply the complete $TERMCAP data needed for some legacy programs.
169
170  --disable-highlighting  disable support for color highlighting
171
172  	Do not compile-in code that allows the selected region to be a
173	different color than the reverse of foreground/background colors.
174
175	See the discussion of highlightColor in the manual.
176
177  --disable-i18n          disable internationalization
178
179  	Do not compile-in code to handle multi-byte characters.  This is
180	related to, but not identical with the input method logic.
181
182  --disable-imake         disable use of imake for definitions
183
184  	Do not attempt to use imake to determine compiler options.
185
186	The main.c file has many ifdef's which rely on obscure combinations
187	known only to imake.  The configure script implements only a
188	portion of the tests needed to supplant imake.
189
190  --disable-initial-erase disable setup for stty erase
191
192	Do not compile-in code which aligns the stty erase and the backarrow
193	key.  When compiled-in, xterm will optionally use the pty's sense
194	of stty erase and apply that to the backarrow mode (sending 8 or 127),
195	or go the other way, setting stty erase to match xterm's configuration.
196
197  --disable-input-method  disable input-method
198
199	Do not compile-in code for "input method".  This is an X11R6
200	feature which deals with translation of composite characters.
201
202	Some users report problems with their configuration, e.g., messages
203	stating that there is no input method defined for the given preedit
204	type.  If you do not need input method (and are troubled by the
205	warning messages), it is safe to disable this option.
206
207  --disable-leaks         test: free permanent memory, analyze leaks
208
209  	Compile-in code which frees memory which might confuse a leak-testing
210	tool.  Normally these chunks of memory are retained as long as xterm
211	is running.
212
213  --disable-luit          disable support for luit filter (Unicode translation)
214
215	Luit is a filter that can be run between an arbitrary application and a
216	UTF-8 terminal emulator.  It will convert application output from the
217	locale's encoding into UTF-8, and convert terminal input from UTF-8
218	into the locale's encoding.
219
220	This is normally enabled, relying upon "--enable-wide-chars".
221
222  --disable-maximize      disable actions for iconify/deiconify/maximize/restore
223
224	Do not compile-in code that implements runtime 'actions' for
225	iconifying, maximizing, etc.
226
227	Most users will find that the window manager is more suitable for
228	this sort of manipulation than putting the capabilities into xterm.
229
230  --disable-num-lock      disable NumLock keypad support
231
232	Do not compile-in code that looks for the actual NumLock key to
233	support vt100/vt220 keypad translation.
234
235	This is used in xterm to simplify logic, and to workaround some
236	quirks of the keyboard tables.  Use the ``numLock'' resource to
237	disable this feature if you must customize xterm in some other way.
238
239	(The same ifdef controls the metaSendsEscape support).
240
241  --disable-openpty       disable openpty, prefer other interfaces
242
243	Do not check for, or use openpty().  Instead, use other interfaces such
244	as posix_openpt().  Modern (sic) BSD systems should have a workable
245	openpty() interface.  Older systems may not.
246
247  --disable-paste64       disable support for bracketed paste mode
248
249	Do not compile-in code to support experimental bracketed paste mode,
250	i.e., provide functions for setting/getting the selection data.
251
252	(see ctlseqs.ms description of OSC 52).
253
254  --disable-pty-handshake disable support for pty handshakes
255
256	This feature is used to ensure that the child process's terminal modes
257	match the parent's.  In particular, it addresses a problem where the
258	terminal size is not defined in the stty settings.
259
260  --disable-rectangles    disable VT420 rectangle support
261
262	Do not compile-in code to support VT420 rectangle control-sequences.
263
264  --disable-regex         disable regular-expression selections
265
266	Do not compile-in code to support the "regex" option for multiple
267	mouse clicks.
268
269  --disable-rightbar      disable right-scrollbar support
270
271  	Do not compile-in code that supports a scrollbar on the right.
272
273	Left/right scrollbars are a matter of taste.  Some older libraries
274	(e.g., X11R5) do not perform the geometry computation correctly,
275	leaving the right scrollbar incorrectly positioned after changing
276	the font size.
277
278  --disable-rpath-hack    don't add rpath options for additional libraries
279
280	By default, the configure script looks for libraries in unusual places
281	and adds an rpath linker option to help.
282
283  --disable-samename      disable check for redundant name-change
284
285	Do not compile-in code that suppresses redundant updates to the
286	titlebar when the text has not changed.
287
288  --disable-selection-ops disable selection operations
289
290	Do not compile-in code to support the actions which allow users
291	to bind keys that use the selection or extract data from the screen.
292
293  --disable-session-mgt   enable support for session management
294
295	Do not compile-in code which adds simple session management hooks
296	which are used when closing an xterm.  Normally the code is
297	compiled-in, except for systems which do not support it.
298
299  --disable-setgid        disable setgid
300
301	Do not install xterm using setuid/setgid permissions.  Drop setgid
302	permissions on startup.
303
304  --disable-setuid        disable setuid
305
306	Do not install xterm using setuid/setgid permissions.  Drop setuid
307	permissions on startup.
308
309  --disable-sun-fkeys
310
311  	Do not compile-in code to support Sun-style function keys.
312
313  --disable-tcap-fkeys    disable termcap function-keys
314
315	Do not compile-in code to support feature which allows xterm to use the
316	function-key definitions from the termcap/terminfo entry which it used
317	to set the $TERM variable on startup.
318
319  --disable-tcap-query    disable termcap query/report
320
321	Do not compile-in code to support DCS '+' control sequence, which
322	allows an application to ask xterm what control sequences it would
323	transmit for specified function keys, given the termcap or terminfo
324	names.
325
326  --disable-tek4014       disable tek4014 emulation
327
328  	Do not compile-in code to support Tektronix 4014 emulation.
329
330	This reduces the executable size by 17% (checked 1999/3/13).
331
332	Some people use the Tektronix emulation (which has been in xterm
333	for many years) as an example of code bloat, though this is not an
334	accurate impression.
335
336  --disable-vt52          disable VT52 emulation
337
338  	Do not compile-in code to support vt52 emulation.
339
340	A genuine vt100 emulates a vt52.
341
342  --disable-wide-chars    disable wide-character support
343
344  	The wide-character code supports Unicode and UTF-8.
345
346	This is normally enabled.
347
348  --disable-ziconbeep     disable -ziconbeep option
349
350	Do not compile-in code that modifies the icon's title and sounds a
351	beep when they receive output.
352
353  --enable-16bit-chars    enable 16-bit characters support
354
355	Enable wide-character support, but store only 16-bits for each wide
356	character.  Unicode values can be larger than 16-bits, up to 21-bits.
357	This uses less memory, but is less complete.  However, most languages
358	are covered by the 16-bit encoding.
359
360  --enable-256-color      enable 256-color support
361
362  	Compile-in code that interprets SGR 38 and 48 for 256-colors.
363
364  --enable-88-color       enable 88-color support
365
366	Compile-in code that interprets SGR 38 and 48 for 88-colors.
367
368  --enable-alt-sends-esc  set default altSendsEscape resource (default: no)
369
370	This sets the default resource value, which is shown in the manpage.
371
372  --enable-backarrow-key  set default backarrowKey resource (default: true)
373
374	This sets the default resource value, which is shown in the manpage.
375
376  --enable-backarrow-is-erase set default backarrowKeyIsErase resource (default: false)
377
378	This sets the default resource value, which is shown in the manpage.
379
380  --enable-broken-osc     allow broken Linux OSC-strings],
381
382	Compile-in code to accommodate scripts that write Linux's malformed
383	palette control strings without checking.  The result makes xterm
384	appear to freeze.  This workaround makes xterm ignore the strings,
385	and is compiled-in by default for Linux.
386
387  --enable-dabbrev        enable dynamic-abbreviation support
388
389	Compile-in support for "dabbrev-expand()" action and related key
390	translation.
391
392  --enable-dec-locator    enable DECterm Locator support
393	Add support for DEC Locator control sequences for xterm:
394
395		DECEFR - Enable Filter Rectangle
396	        DECELR - Enable Locator Reports
397		DECSLE - Select Locator Events
398		DECRQLP - Request Locator Position
399
400	This allows the xterm mouse to be used with applications that use the
401	DEC Locator sequences, such as VAX Tpu, or SMG$ based applications.
402
403  --enable-delete-is-del  set default deleteIsDEL resource (default: maybe)
404
405	This sets the default resource value, which is shown in the manpage.
406
407  --enable-double-buffer  enable double-buffering
408
409	Use experimental double-buffering for display to reduce flicker.
410
411	This option was introduced in patch #282; at that point it needs
412	further work because colors used for clearing the screen do not
413	match the expected behavior (see vttest for instance).
414
415  --enable-exec-xterm     enable "spawn-new-terminal" action
416
417  	If your platform supports the process filesystem "cwd" link,
418	compile-in support for the "spawn-new-terminal" action, which
419	allows you to define a key translation that runs a new xterm
420	using the same working directory as the current process within
421	xterm.
422
423  --enable-hp-fkeys       enable support for HP-style function keys
424
425  	Compile-in code to support HP-style function keys.
426
427  --enable-load-vt-fonts  enable load-vt-fonts() action
428
429  	Compile-in code that allows user to define load different VT-font
430	definitions at runtime.
431
432  --enable-logfile-exec   enable exec'd logfile filter
433
434  	Compile-in code that allows logging piped via an external filter.
435
436  --enable-logging        enable logging
437
438  	Compile-in code that allows logging.
439
440	Logging was disabled in X11R5 xterm because of security problems.
441	They were addressed in X11R6, but the feature was not reinstated.
442
443  --enable-meta-sends-esc set default metaSendsEscape resource (default: no)
444
445	This sets the default resource value, which is shown in the manpage.
446
447  --enable-mini-luit      enable support for poor man's luit filter (Latin-9)
448
449	Provide built-in support for Latin-9, relying on having specified
450	Unicode (ISO10646) fonts and setting the locale resource to "checkfont".
451
452	This sets "--enable-luit" as a side-effect.
453
454  --enable-narrowproto    enable narrow prototypes for X libraries
455
456	Originally xterm was built using imake rather than a configure script. 
457	One feature of imake that is not possible to guess within the
458	configure script is the wide-prototype compile-time definition
459	NARROWPROTO.  When this is not set properly, the Athena widget
460	scrollbars do not work properly.  xterm's configure script has a
461	fallback case which allows disabling imake.  However, this is moot
462	with the X.org "modular" build, whose compiler options are unrelated to
463	imake or older versions of any libraries that it may distribute.  In
464	this case, the configure script needs some help.  Use this option to
465	enable or disable NARROW proto (and disable imake with the
466	--disable-imake option) to match the whims of X.org hackers.
467
468	For instance
469
470		configure --disable-imake --disable-narrowproto
471
472  --enable-readline-mouse enable support for mouse in readline applications
473
474	Compile-in code to support experimental bracketed paste mode, i.e.,
475	provide functions for setting/getting the selection data.  Essentially
476	this puts xterm into a mode that sends special function-key strings to
477	bracket the data.
478
479	(See --enable-paste64, which fits xterm's protocol better).
480
481  --enable-sco-fkeys      enable support for SCO-style function keys
482
483  	Compile-in code to support SCO-style function keys.
484
485  --enable-sixel-graphics enable support for sixel-graphics
486
487  	Compile-in code to support experimental sixel-graphics
488
489  --enable-sun-fkeys      enable support for Sun-style function keys
490
491  	Compile-in code to support Sun-style function keys.
492
493  --enable-toolbar        enable pulldown menus on toolbar
494
495  	Compile-in code that builds a toolbar with pulldown menus.  The
496	normal popup menus are still available.
497
498	This is an experimental option.  As of patch #206, it is known to
499	work well with fvwm, but not as well with some other window managers,
500	e.g., KDE's Kwin and IceWM.
501
502	In addition to isolated layout problems, it is reported that some
503	flavors of the Athena widget library perform badly with ISO-10646
504	fonts.  You can work around those by setting the menu fonts to
505	an ISO-8859 variant in your X resources.
506
507  --enable-trace          test: set to enable debugging traces
508
509  	Compile-in code to trace xterm's internal states.
510
511	This is a debugging feature.  It causes xterm to produce two files
512	(Trace-parent.out and Trace-child.out).
513
514  --enable-warnings       test: turn on GCC compiler warnings
515
516	Modify the generate Makefile to turn on gcc compiler warnings.
517
518	I use this option regularly, and correct all but a few (difficult)
519	problems.
520
521  --enable-xmc-glitch     test: enable xmc magic-cookie emulation
522
523  	Compile-in code that simulates the terminfo "magic cookie" glitch.
524
525	This is for testing ncurses.
526
527  --with-Xaw3d            link with Xaw 3d library
528
529  	Look for, compile and link with the Xaw 3d widget library.
530
531  --with-XawPlus          link with Athena-Plus library
532
533  	Look for, compile and link with the Xaw Plus widget library.
534
535  --with-app-class=XXX    X resource class (default: XTerm)
536
537	Rename the X resource class, e.g., for packaging a development version
538	of xterm with different result names.
539
540  --with-app-defaults=DIR directory in which to install resource files (default: EPREFIX/lib/X11/app-defaults)
541
542	autoconf scripts assume that all of the files should be installed
543	under the same top-level directory.  But X applications defaults
544	must be installed into a special directory, e.g.,
545
546		/usr/X11/lib/app-defaults
547
548	However, there is no standard for this pathname.  The manual page
549	for X notes that the environment variable $XUSERFILESEARCHPATH can
550	specify a list of places where X searches for applications defaults.
551	Also, it may look in $XAPPLRESDIR, but that usually is not related
552	to where xterm might be installed.  To keep it simple, the configure
553	script uses
554
555		EPREFIX/lib/X11/app-defaults
556
557	as the default (EPREFIX is --prefix).  That makes it work normally
558	for most systems if --prefix is /usr.  For other installs, e.g., to
559	/usr/local, you should use this option to customize the location to
560	match your system configuration.
561
562	Use --with-app-defaults=auto to ask the configure script to look in
563	a list of well-known locations for an existing directory.
564
565	Use --without-app-defaults or --with-app-defaults=no to disable the
566	feature.
567
568  --with-dmalloc          test: use Gray Watson's dmalloc library
569
570	Check for and link with dmalloc.
571
572  --with-dbmalloc         test: use Conor Cahill's dbmalloc library
573
574	Check for and link with dbmalloc.
575
576  --with-desktop-category=XXX  one or more desktop catgories or auto
577	This is a list of names.  The configure script maps blanks and commas
578	to semicolons (";") which are used by the desktop utils as a separator.
579
580	The default value "auto" tells the configure script to look
581	at existing ".desktop" files for xterm and common terminal
582	emulators, to use those.  If none are found, the script uses this
583	default:
584		System;TerminalEmulator;Utility;
585
586  --with-freetype-config  configure script to use for FreeType
587
588 	Use a specific option value to tell the configure script to try
589	just one of the variations:
590
591	"pkg*", e.g., pkg-config or pkgconfig uses whatever pkg-config
592		script was found. 
593
594	otherwise, the parameter value is used as the name of the script
595	to try, using --cflags and --libs options.
596
597	Use --without-freetype-config to enable the --with-freetype-cflags
598	and --with-freetype-libs options.
599
600	The default value "auto" tells the configure script to try the
601	pkg-config script first, then freetype-config and finally xft-config.
602
603  --with-freetype-cflags  -D/-I options for compiling with FreeType library
604
605	Override options provided by xft-config or freetype-config.
606
607  --with-freetype-libs    -L/-l options for linking with FreeType library
608
609	Override options provided by xft-config or freetype-config.
610
611  --with-icon-name=NAME override icon name (default: xterm-color)
612
613	xterm comes with a choice of icons:
614
615	xterm-color: depicts a conventional terminal image, and is the default
616		icon used for icon-themes.
617
618	mini.xterm: a more iconic choice which is readily identifiable at
619		small sizes.  This is used for window decoration, e.g., the
620		icon at the upper left corner in many window managers.
621
622  --with-icon-symlink=NAME create symbolic links to icon name (default: NONE)
623
624	This is a workaround for certain systems which translate icon names
625	containing "xterm", e.g., "xterm-color" into the single icon "xterm".
626	The option should also be harmless on a properly configured system.
627
628	If the option is used, its default value is "xterm".  For each icon,
629	the makefile will strip the suffix (e.g., ".png"), as well as the part
630	of the filename which denotes the size (e.g., "_32x32" in an xpm file),
631	and constructs a link with that name to the icon.
632
633	If the option is unused, its default value is "NONE" (no link is made).
634
635  --with-icondir=DIR directory in which to install icon files (default: no)
636
637	The X libraries may automatically search these locations:
638
639	$HOME/.icons
640	$XDG_DATA_DIRS/icons
641	/usr/share/pixmaps
642
643	Alternatively, the last may be actually
644	/usr/X11R6/share/pixmaps
645
646	Use --with-icondir=auto to tell the configure script to search for
647	an existing directory from its list of well-known system locations.
648
649	See also
650	http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
651	http://www.freedesktop.org/software/icon-theme/
652
653	By default, the option is disabled; it is useful only for the
654	--with-icon-theme option.
655
656  --with-icon-theme=XXX   install icons into desktop theme (hicolor)
657
658	Install png and svg icons into the given desktop theme and customize
659	the .desktop files to use that theme.  If no theme name is given,
660	the default is "hicolor".  If this option is not given, the desktop
661	file will use the pixmap files.
662
663  --with-neXtaw           link with neXT Athena library
664
665  	Look for, compile and link with the neXT Athena widget library.
666
667  --with-own-terminfo=P   set default $TERMINFO (default: from environment)
668
669  	Modify the generated Makefile to set the target for the 'install-ti'
670	rule to point to the given directory.
671
672	If you have the $TERMINFO variable defined in your environment, the
673	configure script will use that value.  If no option and no variable
674	are are given, the configure script uses /usr/lib/terminfo, if it
675	exists.
676
677	You do not have to run "make install-ti", if there is already a
678	workable terminfo description.  Be advised, however, that the
679	common variety of "xterm-color" is not suited for xterm, but is
680	directed to other variations (such as nxterm) which do not
681	support the background-color erase capability.
682
683  --with-pcre             use PCRE for regular-expressions
684
685	If regular expressions are not disable (--disable-regex), use PCRE
686	rather than the POSIX regular expressions.
687
688  --with-pkg-config{=path} enable/disable use of pkg-config
689
690	The configure script looks for certain libraries which have well
691	established pkg-config scripts, and will use those settings if
692	available.  Not all pkg-config scripts work; this option suppresses
693	the check and relies on normal library search paths.
694
695  --with-reference=XXX    program to use as permissions-reference
696
697	To install xterm with setuid permissions, the scripts usually compare
698	it with a previous install.  That works well for individual
699	maintainers, but can be a problem for packagers who may be
700	cross-compiling, etc.  This option lets the package builder specify
701	the file used for permissions reference.
702
703  --with-setuid=XXX       use the given setuid user
704
705	Install xterm setuid'd to the given user.  If no parameter value
706	is given, assume it is root.
707
708	See also --with-utmp-setgid and --with-utempter, which manipulate
709	the setgid group.
710
711  --with-tty-group=XXX    use XXX for the tty-group
712
713	If xterm is installed setuid'd to root, change the group of the tty
714	device to the given value on startup.  Three cases are possible:
715	
716	a) If this option is not given, the configure script will attempt to
717	   find a suitable value (usually "tty"), and verify that it exists in
718	   the group database.
719
720	b) If the option value is given, it will use the value even if it does
721	   not exist in the group database (allowing packagers to work about
722	   deficient environments).
723
724	c) If the option is disabled, e.g., --without-tty-group, the
725	   permissions change will use the group-id of the process.
726
727	If xterm is not installed setuid'd to root, this option is not needed,
728	since it cannot change the tty device's ownership.
729
730  --with-valgrind         test: use valgrind
731
732	Activate the --disable-leaks option, and ensure that "-g" is added to
733	CFLAGS.
734
735  --with-xpm=DIR          use Xpm library for colored icon, may specify path
736
737 	Use Xpm library to show colored icon in window decoration, e.g.,
738	title area.
739
740	Use --without-xpm to suppress this feature.
741
742  --with-xterm-symlink=XXX  make symbolic link to installed xterm
743
744	If any of the configure options to modify the program name i.e.,
745	--program-prefix, --program-suffix or --program-transform-name
746	are given, this option allows the makefile to create a symbolic link,
747	e.g., to "xterm" on install.  The option value gives the name for
748	the link, which defaults to "xterm".
749
750	Use --without-xterm-symlink to disable a link to "xterm" if none
751	is wanted.
752
753  --with-terminal-id[=V]  set default decTerminalID (default: vt100)
754
755  	Set the default emulation level.
756
757	DEC terminals vt52/vt100/vt220/etc form a series where succeeding
758	models emulate features of the older terminals.  While most
759	features of these terminals are recognized by xterm at all levels,
760	a few behave differently according to the emulation level.
761
762	You can always override this with the command-line option "-ti".
763
764  --with-terminal-type=T  set default $TERM (default: xterm)
765
766	Set the default value for $TERM.  Xterm supports legacy termcap
767	applications by constructing a modified version of the $TERMCAP
768	variable at initialization, which supplies the resulting screen
769	size.  It also sets $TERM, if not already set, for use by programs
770	running within xterm.
771
772	The default value "xterm", can be overridden to avoid conflict
773	with older versions of xterm, e.g., those that do not implement
774	vt220 emulation.
775
776	You can always override this with the command-line option "-tn".
777
778  --with-utempter         use utempter library for access to utmp
779
780	The utempter library is a set-uid wrapper for the utmp facility.
781	On systems with Unix98 pty's, xterm can use this library when
782	available so it need not be installed set-uid.
783
784  --with-utmp-setgid=XXX  use setgid for access to utmp
785
786	The option value specifies a group to use when installing.
787	xterm will be installed with setgid privilege to this group.
788	At runtime, xterm will drop the setuid privilege immediately
789	after opening the pseudo-terminal, and will have only the
790	group privilege needed to access the utmp file.  This relies
791	on having POSIX setuid behavior.
792
793-- vile:txtmode
794