#! /usr/local/bin/bash

#
# I've successfully compiled the SuSE ftp-proxy (without docs)
# on Solaris7 (i386) with following tools from
# 	http://sunfreeware.com/
# installed on my system:
#
#   bash autoconf gcc gdb libstdc++ make
#   bison flex perl gzip zlib
#
# and following I've compiled myself (source from SuSE 7.0):
#
#   GNU m4, GNU awk, automake
#

PATH=/usr/local/bin:/usr/bin:/usr/xpg4/bin:/usr/ccs/bin:/usr/ucb:.
export PATH

aclocal
autoheader
autoconf
rm -f stamp-h.in
touch stamp-h.in
[ -f Makefile ] && make distclean

./configure --sysconfdir=/etc/proxy-suite --localstatedir=/var/run --enable-so-linger --enable-rfc1579 --disable-rfc2428 --with-regex --with-libwrap --with-libldap --disable-proc-mods --enable-warnings --enable-debug

make -C common
make -C ftp-proxy

