Re: diagnose invalid domain ID numbers (and invalid integers, in general)

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

 



On Sat, Nov 17, 2007 at 11:50:56PM +0100, Jim Meyering wrote:
> "Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote:
> > The change I applied was this:
> ...
> >  TESTS_ENVIRONMENT =				\
> > -  abs_top_builddir='$(abs_top_builddir)'	\
> > -  abs_top_srcdir='$(abs_top_srcdir)'		\
> > +  abs_top_builddir=`pwd`/$(top_builddir)	\
> > +  abs_top_srcdir=`pwd`/$(top_srcdir)		\
> 
> Hi Dan,
> That looks fine, but it'd be nice to retain the single quotes:
> 
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index 8539779..d059402 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -56,8 +56,8 @@ endif
>  # abs_top_{src/build}dir variables, so don't rely
>  # on them here. Fake them with 'pwd'
>  TESTS_ENVIRONMENT =				\
> -  abs_top_builddir=`pwd`/$(top_builddir)	\
> -  abs_top_srcdir=`pwd`/$(top_srcdir)		\
> +  abs_top_builddir=`pwd`/'$(top_builddir)'	\
> +  abs_top_srcdir=`pwd`/'$(top_srcdir)'		\
>    $(VG)
>  
>  valgrind:
> 
> They protect against the unusual case in which one does
> a VPATH (aka non-srcdir) build, where configure is specified via
> a name containing spaces or shell meta-characters.
> I'll commit the above on Monday if no one else does it first.
> ----------

I've done that.

> On the portability-to-old-automake front (automake-1.9 is over 3 years
> old), bear in mind that people building from checked out sources should
> try hard to use relatively recent versions of autoconf and automake,
> especially developers and packagers.  There are enough portability
> bugs in automake-1.9 that you don't want to use it in development,
> and certainly not when building a tarball that might be distributed.
> That goes double for autoconf.

I know its ancient, but it is what is in the default RHEL-5 and FC6
distros. Many people use RHEL-5 as their development platform and
I don't want to force them to update to unsupported packages instead
of what's in the base distro.

Regards,
Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]