# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../evolution/evolution-conf.in # Copyright (C) 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. # --- T2-COPYRIGHT-NOTE-END --- # Enable SSL support depending on firefox/seamonkey if pkginstalled firefox; then sid=firefox-$(pkgprefix ver firefox) sinc=$(pkgprefix includedir firefox) slib=$(pkgprefix libdir firefox) elif pkginstalled seamonkey; then sid=seamonkey-$(pkgprefix ver seamonkey) sinc=$(pkgprefix includedir seamonkey) slib=$(pkgprefix libdir seamonkey) fi if [ -n $sid ]; then var_append confopt ' ' '--enable-nss=yes' var_append confopt ' ' '--enable-smime=yes' var_append confopt ' ' "--with-nss-includes=$sinc/$sid/nss" var_append confopt ' ' "--with-nss-libs=$slib/$sid" var_append confopt ' ' "--with-nspr-includes=$sinc/$sid/nspr" var_append confopt ' ' "--with-nspr-libs=$slib/$sid" fi # Enable LDAP support in evolution if pkginstalled openldap; then pkgprefix -t openldap var_append confopt ' ' "--with-openldap=$root/$( pkgprefix openldap )" # --with-static-ldap=no/yes Link LDAP support statically into evolution fi if pkginstalled evolution-exchange; then var_append confopt ' ' '--enable-exchange' fi