# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1213647742 25200
# Node ID 74b34a49b99a5bef18be26c85e1f2c76c09822ca
# Parent e3b5268c1b4e18a7b0bfe48d98d1f1017a4498c6
Add persistent data location to configure.ac
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r e3b5268c1b4e -r 74b34a49b99a acinclude.m4
--- a/acinclude.m4 Fri Jun 13 18:39:12 2008 -0700
+++ b/acinclude.m4 Mon Jun 16 13:22:22 2008 -0700
@@ -317,6 +317,17 @@
]
)
+#
+# Define info store location.
+#
+AC_DEFUN([DEFINE_INFO_STORE],
+ [
+ AC_DEFINE_UNQUOTED([INFO_STORE], "$1", [Info store location])
+ INFO_STORE=$1
+ AC_SUBST(INFO_STORE)
+ ]
+)
+
AC_DEFUN([SET_CSET],
[
if test -d .hg && test -x $(which hg); then
diff -r e3b5268c1b4e -r 74b34a49b99a configure.ac
--- a/configure.ac Fri Jun 13 18:39:12 2008 -0700
+++ b/configure.ac Mon Jun 16 13:22:22 2008 -0700
@@ -60,6 +60,13 @@
[DEFINE_DISK_CONFIG($with_diskconfig)],
[DEFINE_DISK_CONFIG(/etc/libvirt/diskpool.conf)]
)
+
+AC_ARG_WITH([info_store],
+ [ --with-info-store=PATH Set information store location
(default=/etc/libvirt/cim)],
+ [DEFINE_INFO_STORE($withval)],
+ [DEFINE_INFO_STORE(/etc/libvirt/cim)]
+)
+
AC_ARG_WITH([maxmem],
[ --with-maxmem=FOO Set max memory (KB) for a guest.],
[DEFINE_MAXMEM($with_maxmem)],