[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 25/46] Use configure --mandir=DIR to set MANDIR



On Mon, 2014-09-22 at 15:00 +0200, Olaf Hering wrote:
> diff --git a/m4/paths.m4 b/m4/paths.m4
> index 0255966..5e90eb4 100644
> --- a/m4/paths.m4
> +++ b/m4/paths.m4
> @@ -68,6 +68,10 @@ AC_SUBST(XEN_LIB_STORED)
>  SHAREDIR=$prefix/share
>  AC_SUBST(SHAREDIR)
>  
> +dnl double eval because default mandir includes datarootdir, which includes 
> prefix
> +MANDIR=`eval eval echo $mandir`
> +AC_SUBST(MANDIR)

Would it be better to add datarootdir to the "expand these early" at the
top, something like
        datarootdir=`eval echo $datarootdir`
?

> +
>  PRIVATE_PREFIX=$LIBDIR/xen
>  AC_SUBST(PRIVATE_PREFIX)
>  



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.