Re: [PATCH] configure: Disable FS storage driver if mntent.h is not available

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

 



2010/11/13 Eric Blake <eblake@xxxxxxxxxx>:
> On 11/13/2010 08:52 AM, Matthias Bolte wrote:
>> This is the case on FreeBSD.
>> ---
>> Âconfigure.ac | Â 12 ++++++++++++
>> Â1 files changed, 12 insertions(+), 0 deletions(-)
>>
>> diff --git a/configure.ac b/configure.ac
>> index 66237e1..d21d558 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -1497,6 +1497,18 @@ if test "$with_osx" = "yes"; then
>> Âfi
>>
>> Âif test "$with_storage_fs" = "yes" || test "$with_storage_fs" = "check"; then
>> + Â ÂAC_CHECK_HEADER([mntent.h],,
>> + Â Â[
>> + Â Â Â Âif test "$with_storage_fs" = "check"; then
>> + Â Â Â Â Â Âwith_storage_fs=no
>> + Â Â Â Â Â ÂAC_MSG_NOTICE([<mntent.h> is required for the FS storage driver, disabling it])
>> + Â Â Â Âelse
>> + Â Â Â Â Â ÂAC_MSG_ERROR([<mntent.h> is required for the FS storage driver])
>> + Â Â Â Âfi
>> + Â Â])
>> +fi
>> +
>> +if test "$with_storage_fs" = "yes" || test "$with_storage_fs" = "check"; then
>
> ACK.
>

Thanks, pushed.

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]