libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 6fe7680386b5e9e891206233004cca85b05e3d86
parent ab284e1035f162a1dcee357b04121498c03b2645
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Tue, 16 May 2017 21:43:37 +0300

Do not build upgrade example in upgrade is disabled by configure

Diffstat:
Msrc/examples/Makefile.am | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/examples/Makefile.am b/src/examples/Makefile.am @@ -20,7 +20,6 @@ noinst_PROGRAMS = \ benchmark_https \ chunked_example \ minimal_example \ - upgrade_example \ dual_stack_example \ minimal_example_comet \ querystring_example \ @@ -56,6 +55,11 @@ noinst_PROGRAMS += \ authorization_example endif +if ENABLE_UPGRADE +noinst_PROGRAMS += \ + upgrade_example +endif + if HAVE_W32 AM_CFLAGS += -DWINDOWS endif