فهرست منبع

Fixed MHD base tests with non-default path to GnuTLS includes, removed duplicated include

Evgeny Grin (Karlson2k) 12 سال پیش
والد
کامیت
5cab359556
2فایلهای تغییر یافته به همراه6 افزوده شده و 1 حذف شده
  1. 6 0
      src/microhttpd/Makefile.am
  2. 0 1
      src/microhttpd/test_daemon.c

+ 6 - 0
src/microhttpd/Makefile.am

@@ -151,17 +151,23 @@ test_daemon_LDADD = \
 
 test_postprocessor_SOURCES = \
   test_postprocessor.c
+test_postprocessor_CPPFLAGS = \
+  $(AM_CPPFLAGS) $(GNUTLS_CPPFLAGS)
 test_postprocessor_LDADD = \
   $(top_builddir)/src/microhttpd/libmicrohttpd.la \
   $(MHD_W32_LIB)
 
 test_postprocessor_amp_SOURCES = \
   test_postprocessor_amp.c
+test_postprocessor_amp_CPPFLAGS = \
+  $(AM_CPPFLAGS) $(GNUTLS_CPPFLAGS)
 test_postprocessor_amp_LDADD = \
   $(top_builddir)/src/microhttpd/libmicrohttpd.la
 
 test_postprocessor_large_SOURCES = \
   test_postprocessor_large.c
+test_postprocessor_large_CPPFLAGS = \
+  $(AM_CPPFLAGS) $(GNUTLS_CPPFLAGS)
 test_postprocessor_large_LDADD = \
   $(top_builddir)/src/microhttpd/libmicrohttpd.la \
   $(MHD_W32_LIB)

+ 0 - 1
src/microhttpd/test_daemon.c

@@ -24,7 +24,6 @@
  * @author Christian Grothoff
  */
 
-#include "platform.h"
 #include "platform.h"
 #include "microhttpd.h"
 #include <stdlib.h>