summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorSami Kerola2012-06-23 07:05:14 +0200
committerKarel Zak2012-07-10 12:56:46 +0200
commit07a16b9d1e5a48550a0d19abb9a900853433ffa2 (patch)
tree580c7c566bd7d05ff6c0f29f95a92880bdd61171 /Makefile.am
parentutmpdump: cleanup file descriptor usage (diff)
downloadkernel-qcow2-util-linux-07a16b9d1e5a48550a0d19abb9a900853433ffa2.tar.gz
kernel-qcow2-util-linux-07a16b9d1e5a48550a0d19abb9a900853433ffa2.tar.xz
kernel-qcow2-util-linux-07a16b9d1e5a48550a0d19abb9a900853433ffa2.zip
build-sys: change --localstatedir to /run
Enable user to define where run state files are wrote. Default for these files is /run. See reference for rationale why /var/run is no longer the default. Reference: http://lists.fedoraproject.org/pipermail/devel/2011-March/150031.html CC: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index be5dd09fe..63ff205c2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,8 +1,8 @@
-
AM_CPPFLAGS = \
-include config.h \
-I$(top_srcdir)/include \
- -DLOCALEDIR=\"$(localedir)\"
+ -DLOCALEDIR=\"$(localedir)\" \
+ -D_PATH_LOCALSTATEDIR=\"${localstatedir}\"
AM_CFLAGS = -fsigned-char $(WARN_CFLAGS)
AM_LDFLAGS =