Re: Still in freeze, third rc tarball available

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

 



2011/2/15 Osier Yang <jyang@xxxxxxxxxx>:
> ä 2011å02æ15æ 11:32, Daniel Veillard åé:
>>
>> Â Thanks everybody for the testing feedback and fixes, in retrospect
>> I should really had done this in previous releases ! So the third
>> rc tarball is out, it's likely to be the last one before the release
>> (within 48 hours):
>>
>> Â Âftp://libvirt.org/libvirt/libvirt-0.8.8-rc3.tar.gz
>>
>> Â give it a try !
>>
>> Â Âthanks,
>>
>> Daniel
>>
> # ./daemon/libvirtd
> 14:11:15.018: 31796: info : libvirt version: 0.8.8, package: Â()
>
>>>> PACKAGE_VERSION and PACKAGER are all defined as "" by default,
> do we need to do more checking to print just the following?
>

configure tests --with-packager(-version) for "no" instead of empty
string. I think --with-packager(-version) should either default to
"no"


diff --git a/configure.ac b/configure.ac
index 3cd824a..9caa902 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,11 +32,11 @@ AC_SUBST([LIBVIRT_VERSION_NUMBER])
 AC_ARG_WITH([packager],
             [AS_HELP_STRING([--with-packager],
                             [Extra packager name])],
-            [],[])
+            [],[with_packager=no])
 AC_ARG_WITH([packager-version],
             [AS_HELP_STRING([--with-packager-version],
                             [Extra packager version])],
-            [],[])
+            [],[with_packager_version=no])
 if test "x$with_packager" != "xno"
 then
   AC_DEFINE_UNQUOTED([PACKAGER], ["$with_packager"],


or be tested for empty string


diff --git a/configure.ac b/configure.ac
index 3cd824a..2f371a7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,12 +37,12 @@ AC_ARG_WITH([packager-version],
             [AS_HELP_STRING([--with-packager-version],
                             [Extra packager version])],
             [],[])
-if test "x$with_packager" != "xno"
+if test "x$with_packager" != "x"
 then
   AC_DEFINE_UNQUOTED([PACKAGER], ["$with_packager"],
                      [Extra package name])
 fi
-if test "x$with_packager_version" != "xno"
+if test "x$with_packager_version" != "x"
 then
   AC_DEFINE_UNQUOTED([PACKAGER_VERSION], ["$with_packager_version"],
                      [Extra package version])


both approaches fix the cosmetic problem.

Matthias

--
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]