#!/bin/sh
#
# You may need to modify the xconfigdir variable
# for X11R5, this is the usual the spot.

xconfigdir='/usr/lib/X11/config'

# for X11R6, this is usual spot.
#xconfigdir='/usr/X11R6/lib/X11/config'

# openwindows-based systems can do the following
#xconfigdir = '/usr/openwin/lib/config'

echo "Unpacking comp faces files"
gzip -d -c compface.tar.gz | tar xvfB -
cd ./compface
echo "Building comp faces library" 
make

cd ../
imake -DUseInstalled=Yes -DUSE_X_FACE -I$xconfigdir
echo "Building XMail with XFaces support"
make


syntax highlighted by Code2HTML, v. 0.9.1