From: Ben Pfaff Date: Thu, 23 Oct 2008 21:07:01 +0000 (-0700) Subject: Introduce logdir (typically /var/log/openflow, by default /usr/local/var/log/openflow). X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f793b541e2abc9eef621cf328a6b5d562d9edf04;p=openvswitch Introduce logdir (typically /var/log/openflow, by default /usr/local/var/log/openflow). --- diff --git a/Makefile.am b/Makefile.am index 83e73de3..398dcb00 100644 --- a/Makefile.am +++ b/Makefile.am @@ -23,6 +23,9 @@ AM_CFLAGS = -Wstrict-prototypes rundir = $(localstatedir)/run AM_CPPFLAGS += -DRUNDIR=\"$(rundir)\" +logdir = $(localstatedir)/log/$(PACKAGE) +AM_CPPFLAGS += -DLOGDIR=\"$(logdir)\" + if NDEBUG AM_CPPFLAGS += -DNDEBUG AM_CFLAGS += -fomit-frame-pointer