Commit 2168fc60 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Handle that varnishd is built after in-tree vmods

parent 94443fed
......@@ -154,6 +154,7 @@ vcldir=$(datarootdir)/$(PACKAGE)/vcl
varnishd_CFLAGS = \
@PCRE_CFLAGS@ \
@SAN_CFLAGS@ \
-DNOT_IN_A_VMOD \
-DVARNISH_STATE_DIR='"${VARNISH_STATE_DIR}"' \
-DVARNISH_VMOD_DIR='"${pkglibdir}/vmods"' \
-DVARNISH_VCL_DIR='"${pkgsysconfdir}:${vcldir}"'
......
......@@ -41,7 +41,9 @@
#include "common/common_param.h"
#include "VSC_main.h"
#ifdef NOT_IN_A_VMOD
# include "VSC_main.h"
#endif
/* -------------------------------------------------------------------*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment