From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH v2] tools: add configure --with-dumpdir=DIR option Date: Thu, 21 May 2015 16:27:55 +0200 Message-ID: <20150521142755.GA32716@aepfle.de> References: <1431358431-6345-1-git-send-email-olaf@aepfle.de> <1432217349.10746.33.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1432217349.10746.33.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Ian Jackson , Stefano Stabellini , Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, May 21, Ian Campbell wrote: > On Mon, 2015-05-11 at 15:33 +0000, Olaf Hering wrote: > [...] > > +AC_ARG_WITH([xen-dumpdir], > > + AS_HELP_STRING([--with-xen-dumpdir=DIR], > > + [Path to directory for domU crash dumps. [/var/lib/xen/dump]]), > > Should this say $localstatedir/lib/xen/dump as below? This is the help output, the line below is a variable assignment. I think its ok as it is. Perhaps /var can be replaced with LOCALSTATEDIR to make it clearer. configure --help suggests that --localestatedir is PREFIX/var, but we force it to be /var. Too bad that can not be changed because it comes from generic code, I think. Olaf > Other than that: > Acked-by: Ian Campbell > > If you say so I can make that tweak as I apply. > > > + [xen_dumpdir_path=$withval], > > + [xen_dumpdir_path=$localstatedir/lib/xen/dump]) > > + > > if test "$libexecdir" = '${exec_prefix}/libexec' ; then > > case "$host_os" in > > *netbsd*) ;; > >