#!/bin/sh

if [ ! -f configure ]; then
  echo "RUN IN ZMAILER SOURCE ROOT, DIRECTORY MUST HAVE ./configure  IN IT!"
  echo "Will need  IPv6 support in system, OpenSSL, and tcp_wrappers."
  exit 1
fi

mkdir i386
cd i386

CC='gcc -Wall' CFLAGS='-g -O' ../configure --with-ipv6 --prefix=/opt/mail --with-gcc --with-openssl --with-ipv6-replacement-libc --with-tcp-wrappers


syntax highlighted by Code2HTML, v. 0.9.1