configure: Fix gnulib/crypto/md4 dependency

Gnulib project needs Autoconf to be able to import their modules with gnulib-tool
http://www.gnu.org/software/gnulib/manual/html_node/Initial-import.html#Initial-import

We only need md4.c file so this is a workaround to compile it without using
gnulib-tool --import
This commit is contained in:
Jesús García Sáez
2015-04-15 15:28:32 +02:00
committed by Julio García
parent 210053ea20
commit f0a3fdae5b
3 changed files with 43 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
config.h
md4.c
+2
View File
@@ -30,6 +30,8 @@ SOGo_LIBRARIES_DEPEND_UPON += \
ifeq ($(HAS_LIBRARY_gnutls),yes)
ADDITIONAL_CPPFLAGS += -DHAVE_GNUTLS=1
SOGo_LIBRARIES_DEPEND_UPON += -lgnutls
ADDITIONAL_INCLUDE_DIRS += -I$(GNULIB_INCLUDE)
SOGo_C_FILES += $(GNULIB_FILES)
else
ifeq ($(HAS_LIBRARY_ssl),yes)
ADDITIONAL_CPPFLAGS += -DHAVE_OPENSSL=1