Commit 4f99da4e authored by Ryan Kavanagh's avatar Ryan Kavanagh

Imported Upstream version 4.9

parents
ChangeLog
config.cache
config.h
config.log
config.status
configure
libtool
Makefile
*.lsm
#!/bin/sh
#
# run autoheader
#
autoheader2.50 --include=autoconf autoconf/configure.in
chmod 644 autoconf/config.h.in
#
# run autoconf
#
autoconf2.50 --include=autoconf autoconf/configure.in > configure
chmod 755 configure
This diff is collapsed.
See README.unicode for rxvt-unicode specific documentation.
--------------------------------------------------------------------------
Using GNU autoconfig
--------------------------------------------------------------------------
1. If you retrieved a CVS version of this package, you need the GNU
autoconf package to generate the configure script. This is done
by running ./.prebuild in this directory which will automatically
run autoconf with the appropriate options.
2. Run ./configure to generate config.h and the various Makefiles.
./configure --help gives a list of possible options with slightly
longer descriptions in README.configure
Note that configure options have changed since 2.6.x series.
Some systems require unusual options for compilation or linking that
the `configure' script does not know about. You can give `configure'
initial values for variables by setting them in the environment. Using
a Bourne-compatible shell, you can do that on the command line like
this:
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
Or on systems that have the `env' program, you can do it like this:
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
Or if you're using a non Bourne-compatible shell, you can do:
sh -c 'CFLAGS="-O2 -g" ./configure
If you are making different versions of rxvt you can configure them
to be installed with different names using configure arguments, e.g.
./configure --enable-languages --program-transform-name='s,rxvt,kxvt,;'
3. set any other main preferences:
Edit "src/feature.h"
Edit "config.h" if you didn't use ./configure options
If you're cross-compiling, edit the following in "config.h"
NO_XLOCALE
SIZEOF_* # sizeof some types
4. Build it (repeat step 2 as desired):
make
5. build rclock (small xclock with biff & appointments) and
optionally edit rclock/feature.h to add/remove features:
make clock
6. Install both rxvt and rclock:
make install
or install them separately
(cd src; make install)
(cd rclock; make install)
you may also want to install doc/etc/rxvt.terminfo and
doc/etc/rxvt.termcap
7 a. If compiled with UTMP_SUPPORT, you may need to install rxvt setuid
root or setuid/setgid to match the file permissions on /etc/utmp
7 b. You may need to install setuid root anyway for some systems so that
they can give you ownership of the tty devices.
8. On systems which dislike doc/rxvt.1
(cd doc; rm rxvt.1; make rxvt.1)
===================================
NB: If you were able to compile OK but running rxvt prints out
"rxvt: could not obtain control of tty"
running "make tests" from this directory (or from src/test)
should give you a breakdown of the failure point which is
useful to the developers in fixing the problem
NB: SunOS (with/without gcc?) gets reported by configure as
#undef STDC_HEADERS
#define HAVE_SYS_IOCTL_H 1
but the ioctl() defines aren't protected against multiple
inclusion, in this case by <termios.h> so use a hack in
"feature.h" to avoid the problem.
Gave up checking for `STDC_HEADERS', since they really should be
there and I don't want to deal with the problems when they don't
exist.
SunOS users might complain to the right places and get their
system headers fixed so that one day the rest of us won't have
to keep compensating :(
SVR4 users (that aren't using gcc) will have to add -DSVR4 to
CPPFLAGS for configure.
--
EOF
.cvsignore
.prebuild
Changes
INSTALL
MANIFEST
Makefile.in
README.configure
README.FAQ
configure
reconf
doc/etc/XTerm.ad
doc/etc/rclock
doc/etc/rxvt.termcap
doc/etc/rxvt-unicode.terminfo
doc/menu/example.menu
doc/menu/jedmenu.sl
doc/menu/menu
doc/menu/rxvt.menu
doc/menu/rxvt.zh-menu
doc/menu/terminal.menu
doc/.cvsignore
doc/LSM.in
doc/Makefile.in
doc/README.menu
doc/README.xvt
doc/changes.txt
doc/podtbl
doc/rxvt.1.pod
doc/rxvt.7.pod
doc/rxvt.1.man.in
doc/rxvt.7.man.in
doc/rxvt.1.html
doc/rxvt.7.html
doc/rxvt.1.txt
doc/rxvt.7.txt
doc/rxvtc.1
doc/rxvt-unicode.spec
autoconf/.cvsignore
autoconf/Make.common.in
autoconf/aclocal.m4
autoconf/config.guess
autoconf/config.h.in
autoconf/config.sub
autoconf/configure.in
autoconf/install-sh
autoconf/libtool.m4
autoconf/ltmain.sh
autoconf/mkinstalldirs
autoconf/xpm.m4
src/.cvsignore
src/Makefile.in
src/callback.h
src/command.C
src/command.h
src/encoding.C
src/encoding.h
src/feature.h
src/init.C
src/init.h
src/iom.C
src/iom.h
src/iom_conf.h
src/keyboard.C
src/keyboard.h
src/logging.C
src/logging.h
src/main.C
src/makeintprotos-awk
src/makeintprotos-sed
src/menubar.C
src/menubar.h
src/misc.C
src/netdisp.C
src/netdisp.h
src/ptytty.h
src/ptytty.C
src/rxvtutil.C
src/rxvtutil.h
src/rxvttoolkit.C
src/rxvttoolkit.h
src/rxvtfont.C
src/rxvtfont.h
src/rxvt.C
src/rxvt.h
src/rxvtc.C
src/rxvtd.C
src/rxvtdaemon.C
src/rxvtdaemon.h
src/rxvtlib.h
src/rxvtlib.h.in
src/salloc.C
src/salloc.h
src/screen.C
src/scrollbar-next.C
src/scrollbar-rxvt.C
src/scrollbar-xterm.C
src/scrollbar-plain.C
src/scrollbar.C
src/strings.C
src/version.h
src/xdefaults.C
src/xpm.C
src/gentables
src/gencompose
src/genlinedraw
src/table/compose.h
src/table/category.h
src/table/linedraw.h
src/table/viscii.h
src/table/ksc5601_1987_0.h
src/table/gbk_0.h
src/table/gb2312_1980_0.h
src/table/cns11643_1992_1.h
src/table/cns11643_1992_2.h
src/table/cns11643_1992_3.h
src/table/cns11643_1992_4.h
src/table/cns11643_1992_5.h
src/table/cns11643_1992_6.h
src/table/cns11643_1992_7.h
src/table/cns11643_1992_f.h
src/table/big5.h
src/table/big5_ext.h
src/table/big5_plus.h
src/table/koi8_r.h
src/table/koi8_u.h
src/table/iso8859_1.h
src/table/iso8859_2.h
src/table/iso8859_3.h
src/table/iso8859_4.h
src/table/iso8859_5.h
src/table/iso8859_6.h
src/table/iso8859_7.h
src/table/iso8859_8.h
src/table/iso8859_9.h
src/table/iso8859_10.h
src/table/iso8859_11.h
src/table/iso8859_13.h
src/table/iso8859_14.h
src/table/iso8859_15.h
src/table/iso8859_16.h
src/table/jis0201_1976_0.h
src/table/jis0208_1990_0.h
src/table/jis0212_1990_0.h
src/table/jis0213_1.h
src/table/jis0213_2.h
# ./Makefile.in -*- Makefile -*-
# $Id: Makefile.in,v 1.10 2005/02/02 08:09:23 root Exp $
@MCOMMON@
srcdir = @srcdir@
VPATH = @srcdir@
.PATH: @srcdir@
first_rule: all
dummy:
subdirs = src doc
allsubdirs = $(subdirs)
DIST = INSTALL README.configure configure Makefile Makefile.in ChangeLog
DIST_CFG = autoconf/aclocal.m4 autoconf/xpm.m4 autoconf/libtool.m4 \
autoconf/configure.in autoconf/config.h.in \
autoconf/Make.common.in autoconf/install-sh autoconf/mkinstalldirs \
autoconf/config.guess autoconf/config.sub \
autoconf/ltmain.sh \
MKDIR = $(srcdir)/autoconf/mkinstalldirs
#-------------------------------------------------------------------------
all allbin alldoc tags:
@for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done
realclean: clean
$(RMF) config.h config.status config.log libtool
clean:
$(RMF) *~ config.cache
$(RMF) -r autom4te.cache
@for I in ${subdirs}; do (cd $$I; ${MAKE} $@) || exit 1; done
#
# entry points for other programs
#
rxvt:
(cd src; ${MAKE})
tests:
(cd src/test; ${MAKE} tests)
#-------------------------------------------------------------------------
configure: autoconf/configure.in autoconf/aclocal.m4 autoconf/config.h.in
cd $(srcdir);
./.prebuild
config.status:
if test -x config.status; then config.status --recheck; \
else $(SHELL) configure; fi
autoconf/config.h.in: autoconf/configure.in
cd $(srcdir);
./.prebuild
installdirs:
$(MKDIR) $(DESTDIR)$(bindir)
$(MKDIR) $(DESTDIR)$(mandir)
install: installdirs
@for I in $(subdirs); do (cd $$I; $(MAKE) DESTDIR=$(DESTDIR) $@) || exit 1; done
Makefiles:
$(SHELL) config.status
cleandir: realclean
# distclean goal is for making a clean source tree, but if you have run
# configure from a different directory, then doesn't destroy all your
# hardly compiled and linked stuff. That's why there is always $(srcdir)/
# In that case most of those commands do nothing, except cleaning *~
# and cleaning source links.
distclean:
(cd $(srcdir); $(RMF) *~ config.cache config.h config.log config.status libtool)
@for I in $(allsubdirs); do (cd $$I; $(MAKE) $@) || exit 1; done
(cd $(srcdir); $(RMF) Makefile autoconf/Make.common)
distdir:
cd doc && $(MAKE) distdepend
rm -rf $(VERNAME)
mkdir $(VERNAME)
rsync -aR `cat MANIFEST` $(VERNAME)/.
tar.gz: distdir
tar cvf - $(VERNAME) | gzip -vf9 > $(VERNAME).tar.gz
rm -rf $(VERNAME)
tar.bz2: distdir
tar cvf - $(VERNAME) | bzip2 -vf9 > $(VERNAME).tar.bz2
rm -rf $(VERNAME)
dist: tar.bz2
# ------------------------------------------------------------------------
This diff is collapsed.
This diff is collapsed.
config.h.in
Make.common
# autoconf/Make.common.in -*- Makefile -*-
# release date (man), LSM date, version number/name, current maintainer
DATE=@DATE@
LSMDATE=@LSMDATE@
VERSION=@VERSION@
VERNAME=rxvt-unicode-$(VERSION)
MAINT=Marc A. Lehmann
MAINTEMAIL=rxvt@schmorp.de
WEBMAINT=Marc A. Lehmann
WEBMAINTEMAIL=rxvt@schmorp.de
WEBPAGE=http://software.schmorp.de/#rxvt-unicode
#-------------------------------------------------------------------------
RXVTNAME=@RXVTNAME@
SHELL = /bin/sh
# This variable makes it possible to move the installation root to another
# directory. This is useful when you're creating a binary distribution
# If empty, normal root will be used.
# You can run eg. 'make install DESTDIR=/packages/rxvt-xx' to accomplish
# that.
# DESTDIR = /usr/local/X11/$(VERNAME)
# Installation target directories & other installation stuff
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
includedir = @includedir@
man1dir = @mandir@/man1
man1ext = 1
man7dir = @mandir@/man7
man7ext = 7
# Tools & program stuff
CC = @CC@
CXX = @CXX@
CPP = @CPP@
MV = @MV@
RM = @RM@
RMF = @RM@ -f
CP = @CP@
LN = @LN@
SED = @SED@
AWK = @AWK@
ECHO = @ECHO@
CMP = @CMP@
TBL = @TBL@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL@ -m 755
INSTALL_DATA = @INSTALL@ -m 644
# Flags & libs
# add -DBINDIR=\""$(bindir)/"\" to CPPFLAGS, if we need to spawn a program
CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@ @XPM_CPPFLAGS@
LDFLAGS = @LDFLAGS@
DEFS = @DEFS@
LIBS = @LIBS@
DINCLUDE = @DINCLUDE@
DLIB = @DLIB@
# X Include directory
XINC = @X_CFLAGS@ @XPM_CFLAGS@
# extra libraries needed by X on some systems, X library location
XLIB = @X_LIBS@ @XPM_LIBS@ -lX11 @X_EXTRA_LIBS@
LIBTOOL = @LIBTOOL@
COMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEBUG) $(DINCLUDE) $(XINC) -I$(basedir) -I$(srcdir) -I.
LINK = @LINKER@ $(CFLAGS) $(LDFLAGS)
# End of common section of the Makefile
#-------------------------------------------------------------------------
dnl> $Id: aclocal.m4,v 1.2 2003/11/24 17:31:26 pcg Exp $
builtin(include, xpm.m4)
builtin(include, libtool.m4)
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
#! /bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch.
#
# set DOITPROG to echo to test this script
# Don't use :- since 4.3BSD and earlier shells don't like it.
doit="${DOITPROG-}"
# put in absolute paths if you don't have them in your path; or use env. vars.
mvprog="${MVPROG-mv}"
cpprog="${CPPROG-cp}"
chmodprog="${CHMODPROG-chmod}"
chownprog="${CHOWNPROG-chown}"
chgrpprog="${CHGRPPROG-chgrp}"
stripprog="${STRIPPROG-strip}"
rmprog="${RMPROG-rm}"
mkdirprog="${MKDIRPROG-mkdir}"
tranformbasename=""
transform_arg=""
instcmd="$mvprog"
chmodcmd="$chmodprog 0755"
chowncmd=""
chgrpcmd=""
stripcmd=""
rmcmd="$rmprog -f"
mvcmd="$mvprog"
src=""
dst=""
dir_arg=""
while [ x"$1" != x ]; do
case $1 in
-c) instcmd="$cpprog"
shift
continue;;
-d) dir_arg=true
shift
continue;;
-m) chmodcmd="$chmodprog $2"
shift
shift
continue;;
-o) chowncmd="$chownprog $2"
shift
shift
continue;;
-g) chgrpcmd="$chgrpprog $2"
shift
shift
continue;;
-s) stripcmd="$stripprog"
shift
continue;;
-t=*) transformarg=`echo $1 | sed 's/-t=//'`
shift
continue;;
-b=*) transformbasename=`echo $1 | sed 's/-b=//'`
shift
continue;;
*) if [ x"$src" = x ]
then
src=$1
else
# this colon is to work around a 386BSD /bin/sh bug
:
dst=$1
fi
shift
continue;;
esac
done
if [ x"$src" = x ]
then
echo "install: no input file specified"
exit 1
else
true
fi
if [ x"$dir_arg" != x ]; then
dst=$src
src=""
if [ -d $dst ]; then
instcmd=:
else
instcmd=mkdir
fi
else
# Waiting for this to be detected by the "$instcmd $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if [ -f $src -o -d $src ]
then
true
else
echo "install: $src does not exist"
exit 1
fi
if [ x"$dst" = x ]
then
echo "install: no destination specified"
exit 1
else
true
fi
# If destination is a directory, append the input filename; if your system
# does not like double slashes in filenames, you may need to add some logic
if [ -d $dst ]
then
dst="$dst"/`basename $src`
else
true
fi
fi
## this sed command emulates the dirname command
dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
# Make sure that the destination directory exists.
# this part is taken from Noah Friedman's mkinstalldirs script
# Skip lots of stat calls in the usual case.
if [ ! -d "$dstdir" ]; then
defaultIFS='
'
IFS="${IFS-${defaultIFS}}"
oIFS="${IFS}"
# Some sh's can't handle IFS=/ for some reason.
IFS='%'
set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'`
IFS="${oIFS}"
pathcomp=''
while [ $# -ne 0 ] ; do
pathcomp="${pathcomp}${1}"
shift
if [ ! -d "${pathcomp}" ] ;
then
$mkdirprog "${pathcomp}"
else
true
fi
pathcomp="${pathcomp}/"
done
fi
if [ x"$dir_arg" != x ]
then
$doit $instcmd $dst &&
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi
else
# If we're going to rename the final executable, determine the name now.
if [ x"$transformarg" = x ]
then
dstfile=`basename $dst`
else
dstfile=`basename $dst $transformbasename |
sed $transformarg`$transformbasename
fi
# don't allow the sed command to completely eliminate the filename
if [ x"$dstfile" = x ]
then
dstfile=`basename $dst`
else
true
fi
# Make a temp file name in the proper directory.
dsttmp=$dstdir/#inst.$$#
# Move or copy the file name to the temp name
$doit $instcmd $src $dsttmp &&
trap "rm -f ${dsttmp}" 0 &&
# and set any options; do chmod last to preserve setuid bits
# If any of these fail, we abort the whole thing. If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $instcmd $src $dsttmp" command.
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi &&
# Now rename the file to the real destination.
$doit $rmcmd -f $dstdir/$dstfile &&
$doit $mvcmd $dsttmp $dstdir/$dstfile
fi &&
exit 0
This diff is collapsed.
This diff is collapsed.
#!/bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Last modified: 1994-03-25
# Public domain
errstatus=0
for file in ${1+"$@"} ; do
set fnord `echo