ifeq ($(HAS_LIBRARY_gnutls),yes)
ADDITIONAL_CPPFLAGS += -DHAVE_GNUTLS=1
SOGo_LIBRARIES_DEPEND_UPON += -lgnutls
else
ifeq ($(HAS_LIBRARY_ssl),yes)
ADDITIONAL_CPPFLAGS += -DHAVE_OPENSSL=1
SOGo_LIBRARIES_DEPEND_UPON += -lcrypto
endif
endif

SOGo_LIBRARIES_DEPEND_UPON += -lytnef

ADDITIONAL_CPPFLAGS += \
        -Wall -DCOMPILE_FOR_GSTEP_MAKE=1        \
        -DSOGO_MAJOR_VERSION="@\"$(MAJOR_VERSION)\""   \
        -DSOGO_MINOR_VERSION="@\"$(MINOR_VERSION)\""   \
        -DSOGO_SUBMINOR_VERSION="@\"$(SUBMINOR_VERSION)\""
