|
From: Heiko Z. <smi...@us...> - 2004-12-18 23:32:10
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27135/scripts Modified Files: dovecot Log Message: Index: dovecot =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/dovecot,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- dovecot 12 Dec 2004 21:48:08 -0000 1.12 +++ dovecot 18 Dec 2004 23:32:01 -0000 1.13 @@ -27,7 +27,20 @@ case $1 in build ) if [ "$CONFIG_DOVECOT" = "y" ]; then - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-ssl=openssl || exit 1 + CONF_OPTIONS="" + if [ "$CONFIG_CYRUS_SASL" = "y" ]; then + CONF_OPTIONS="$CONF_OPTIONS --with-cyrus-sasl2" + fi + if [ "$CONFIG_OPENLDAPLIB" = "y" ]; then + CONF_OPTIONS="$CONF_OPTIONS --with-ldap" + fi + if [ "$CONFIG_MYSQL_CLIENT" = "y" ]; then + CONF_OPTIONS="$CONF_OPTIONS --with-mysql" + fi + if [ "$CONFIG_POSTGRESQL_CLIENT" = "y" ]; then + CONF_OPTIONS="$CONF_OPTIONS --with-pgsql" + fi + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-ssl=openssl $CONF_OPTIONS || exit 1 make $PMAKE all || exit 1 strip_debug fi |