#!/bin/sh
# For super easy install just run this as root.

# I compile with lcc using:
#	make CFLAGS='-D__STRICT_ANSI__ -Dinline= -Dcaddr_t="char *" -DREGEX_MALLOC' CC=lcc

if test x$1 != x ; then
    prefix="--prefix=$1"
fi
./configure --enable-optimizations $prefix
make || exit 1
make install-strip || exit 1
echo ""
echo ""
echo "-------------------------------------------------------"
echo "Installation  complete.   If  this  did  not  appear to"
echo "give any errors,  then you may  delete  this  directory"
echo "after reading  the  copyright  notice  in  COPYING  and"
echo "reading the files README,  NEWS,  ChangeLog  and  BUGS."
echo "You may have to remove  /etc/ssocket/  between  version"
echo "updates of this software,  as well as .ssocket/ in your"
echo "home directory. Do a    make uninstall    to uninstall."
echo "********** Encryption support is still BETA ***********"
echo "-------------------------------------------------------"

