1------------------------------------------------------------------------ 2Using GNU auto tools 3------------------------------------------------------------------------ 4 51. If script `configure' does not exist, execute `bootstrap.sh' to 6 generate it. To do so, you will need GNU automake, autoconf, 7 and libtool. 8 9 Notice on Solaris, automake and autoconf require perl to be 10 installed in /usr/local/bin, but by default perl is installed in 11 /usr/bin. You can make a symbol link of perl in /usr/local/bin. 12 132. Run ./configure to generate config.h and the various Makefiles. 14 ./configure --help gives a list of possible options with slightly 15 longer descriptions in README.configure. A quick way to enable 16 all features while disable debug is like this: 17 18 ./configure --enable-everything --disable-debug 19 20 Some systems require unusual options for compilation or linking 21 that the `configure' script does not know about. You can give 22 `configure' initial values for variables by setting them in the 23 environment. Using a Bourne-compatible shell, you can do that 24 on the command line like this: 25 26 CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure 27 28 Or on systems that have the `env' program, you can do it like this: 29 30 env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure 31 32 Or if you're using a non Bourne-compatible shell, you can do: 33 34 sh -c 'CFLAGS="-O2 -g" ./configure 35 363. Set any other main preferences: 37 38 Edit "src/feature.h" 39 40 Edit "config.h" if you didn't use ./configure options 41 42 If you're cross-compiling, edit the following in "config.h" 43 44 NO_XLOCALE 45 SIZEOF_* # sizeof some types 46 R*INT*T # types which are the same size 47 # as 16bit/32bit/pointer 48 494. Build it (repeat step 2 as desired): 50 51 make 52 535. Install mrxvt : 54 55 make install 56 57 You may also want to install doc/etc/rxvt.terminfo and 58 doc/etc/rxvt.termcap 59 606 a.If compiled with UTMP_SUPPORT but without utempter library 61 support, you may need to install mrxvt with setuid root or 62 setuid/setgid to match the file ownership and permissions 63 on /etc/utmp (or /var/run/utmp). 64 656 b.You may need to install setuid root anyway for some systems so 66 that they can give you ownership of the tty devices. 67 68 69 =================================== 70 71NB: SunOS (with/without gcc?) gets reported by configure as 72 73 #undef STDC_HEADERS 74 #define HAVE_SYS_IOCTL_H 1 75 76 but the ioctl() defines aren't protected against multiple 77 inclusion, in this case by <termios.h> so use a hack in 78 "feature.h" to avoid the problem. 79 80 Gave up checking for `STDC_HEADERS', since they really should 81 be there and I don't want to deal with the problems when they 82 don't exist. 83 84 SunOS users might complain to the right places and get their 85 system headers fixed so that one day the rest of us won't have 86 to keep compensating :( 87 88 SVR4 users (that aren't using gcc) will have to add -DSVR4 to 89 CPPFLAGS for configure. 90 91-- 92EOF 93