Add --detach and --pidfile options to daemons.
[openvswitch] / Make.vars
index 538cde328e348cbd3b3aae7557c0d17c0a9a7afb..ceef15b73f287d32c497e92b0989685f312ad0a0 100644 (file)
--- a/Make.vars
+++ b/Make.vars
@@ -11,6 +11,9 @@ endif
 AM_CFLAGS = $(COMMON_FLAGS)
 AM_CFLAGS += -Wstrict-prototypes -I $(top_srcdir)/include
 
+rundir = $(localstatedir)/run
+AM_CFLAGS += -DRUNDIR=\"$(rundir)\"
+
 if !NDEBUG
 AM_LDFLAGS = -export-dynamic
 endif