From 60e5e2918872bca5771d439578f95bb42bbe3563 Mon Sep 17 00:00:00 2001 From: Landry Breuil Date: Wed, 29 Jun 2011 21:43:31 +0000 Subject: Add --with-historydir to specify where we want the history files to be stored Signed-off-by: Richard Hughes --- configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 43677cd..a318665 100644 --- a/configure.ac +++ b/configure.ac @@ -87,6 +87,16 @@ else fi AC_SUBST(slashlibdir) +# History/Db dir +AC_ARG_WITH([historydir], + AS_HELP_STRING([--with-historydir=], [directory where the upower history files will be stored])) +if test "$with_historydir" != "no" -a "$with_historydir" != "" ; then + historydir=$withval +else + historydir=${localstatedir}/lib/upower +fi +AC_SUBST(historydir) + #### gcc warning flags dnl --------------------------------------------------------------------------- -- cgit v1.2.1