diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-09-10 06:31:53 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-04 08:02:28 +0200 |
commit | 2e77151e93c4083177a398581d4365fa284fa169 (patch) | |
tree | e0ccf531124fe48b20cc9581d72f354a991f658d | |
parent | pppd: Simplify Makefile.am (diff) | |
download | rtems-2e77151e93c4083177a398581d4365fa284fa169.tar.bz2 |
mghttpd: Add configuration to source file
Update #3375.
-rw-r--r-- | cpukit/mghttpd/Makefile.am | 2 | ||||
-rw-r--r-- | cpukit/mghttpd/mongoose.c | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/cpukit/mghttpd/Makefile.am b/cpukit/mghttpd/Makefile.am index c3e605c679..5058f8b85e 100644 --- a/cpukit/mghttpd/Makefile.am +++ b/cpukit/mghttpd/Makefile.am @@ -9,8 +9,6 @@ $(PROJECT_LIB)/libmghttpd.a: libmghttpd.a TMPINSTALL_FILES = $(PROJECT_LIB)/libmghttpd.a libmghttpd_a_CPPFLAGS = $(AM_CPPFLAGS) -# libmghttpd_a_CPPFLAGS += -DHAVE_MD5 -libmghttpd_a_CPPFLAGS += -DNO_SSL -DNO_POPEN -DNO_CGI -DUSE_WEBSOCKET libmghttpd_a_SOURCES = mongoose.c mongoose.h endif diff --git a/cpukit/mghttpd/mongoose.c b/cpukit/mghttpd/mongoose.c index f7d65a9948..52bc4d3c1a 100644 --- a/cpukit/mghttpd/mongoose.c +++ b/cpukit/mghttpd/mongoose.c @@ -25,6 +25,10 @@ #if defined(__rtems__) #include <md5.h> #define HAVE_MD5 +#define NO_CGI +#define NO_POPEN +#define NO_SSL +#define USE_WEBSOCKET #endif // __rtems__ #if defined(_WIN32) |