Allow compilation without http-parser library

This commit is contained in:
Nikos Mavrogiannopoulos
2016-02-10 13:09:15 +01:00
parent 89f02bad02
commit 57d79d524b
2 changed files with 8 additions and 0 deletions

View File

@@ -6,6 +6,10 @@ if LOCAL_TALLOC
AM_CPPFLAGS += -I$(srcdir)/../ccan/talloc
endif
if LOCAL_HTTP_PARSER
AM_CPPFLAGS += -I$(srcdir)/../http-parser/
endif
# Files common to ocserv and occtl.
libcommon_a_SOURCES=common.c common.h system.c system.h \
cloexec.c cloexec.h

View File

@@ -7,6 +7,10 @@ if LOCAL_TALLOC
AM_CPPFLAGS += -I$(srcdir)/../ccan/talloc
endif
if LOCAL_HTTP_PARSER
AM_CPPFLAGS += -I$(srcdir)/../http-parser/
endif
EXTRA_DIST = args.def
bin_PROGRAMS = occtl