1--------------------------------------------------------------------------
2Using GNU autoconfig
3--------------------------------------------------------------------------
4  1.	Run   ./configure   to generate config.h and the various Makefiles.
5	./configure --help   gives a list of possible options with slightly
6	longer descriptions in README.configure
7
8	Some systems require unusual options for compilation or linking that
9	the `configure' script does not know about.  You can give `configure'
10	initial values for variables by setting them in the environment.  Using
11	a Bourne-compatible shell, you can do that on the command line like
12	this:
13	        CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
14	Or on systems that have the `env' program, you can do it like this:
15		env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
16	Or if you're using a non Bourne-compatible shell, you can do:
17		sh -c 'CFLAGS="-O2 -g" ./configure
18
19  2.	set any other main preferences:
20    	    Edit "src/feature.h"
21	    Edit "config.h"   if you didn't use ./configure options
22	    If you're cross-compiling, edit the following in "config.h"
23		NO_XLOCALE
24		SIZEOF_*	# sizeof some types
25		R*INT*T		# types which are the same size
26				# as 16bit/32bit/pointer
27
28  3.	Build it (repeat step 2 as desired):
29	    make
30
31  4. 	Install aterm :
32	    make install
33
34	you may also want to install doc/etc/rxvt.terminfo and
35	doc/etc/rxvt.termcap
36
37  6 a.	If compiled with UTMP_SUPPORT, you may need to install aterm setuid
38	root or setuid/setgid to match the file permissions on /etc/utmp
39  6 b.  You may need to install setuid root anyway for some systems so that
40	they can give you ownership of the tty devices.
41
42  7.	On systems which dislike doc/aterm.1
43	    (cd doc; rm aterm.1; make aterm.1)
44
45		 ===================================
46
47NB:	SunOS (with/without gcc?) gets reported by configure as
48
49		#undef STDC_HEADERS
50		#define HAVE_SYS_IOCTL_H 1
51
52	but the ioctl() defines aren't protected against multiple
53	inclusion, in this case by <termios.h> so use a hack in
54	"feature.h" to avoid the problem.
55
56	Gave up checking for `STDC_HEADERS', since they really should be
57	there and I don't want to deal with the problems when they don't
58	exist.
59
60	SunOS users might complain to the right places and get their
61	system headers fixed so that one day the rest of us won't have
62	to keep compensating :(
63
64	SVR4 users (that aren't using gcc) will have to add -DSVR4 to
65	CPPFLAGS for configure.
66
67--
68EOF
69