#!/bin/sh

export CPPFLAGS="$CPPFLAGS -I/usr/include/et"
export CFLAGS="$CFLAGS -DLDAP_DEPRECATED -fPIC"
export LIBS="-lsasl2 `pkg-config --libs openssl`"

./autogen.sh --prefix=$HOME --enable-gtk-doc=yes --with-libdb=/usr --with-openldap=/usr/lib/evolution-openldap --with-static-ldap --with-krb5=/usr/kerberos --enable-nntp=yes --enable-nss=yes --enable-smime=yes --enable-imap4=no --enable-gnome-keyring
