bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] Really build without selinux when library is missing.


From: Pádraig Brady
Subject: Re: [PATCH] Really build without selinux when library is missing.
Date: Tue, 22 Oct 2013 11:01:19 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 10/22/2013 07:27 AM, Michael Haubenwallner wrote:
> On 10/21/2013 04:25 PM, Pádraig Brady wrote:
>> Does this more general fix work for you?
>>
>> diff --git a/m4/selinux-selinux-h.m4 b/m4/selinux-selinux-h.m4
>> index 17cccff..eb005fc 100644
>> --- a/m4/selinux-selinux-h.m4
>> +++ b/m4/selinux-selinux-h.m4
>> @@ -61,9 +61,11 @@ AC_DEFUN([gl_LIBSELINUX],
>>    AC_SUBST([LIB_SELINUX])
>>
>>    # Warn if SELinux is found but libselinux is absent;
>> -  if test "$ac_cv_search_setfilecon" = no &&
>> -     test "$host" = "$build" && test -d /selinux; then
>> -    AC_MSG_WARN([This system supports SELinux but libselinux is missing.])
>> -    AC_MSG_WARN([AC_PACKAGE_NAME will be compiled without SELinux support.])
>> +  if test "$ac_cv_search_setfilecon" = no; then
>> +    if test "$host" = "$build" && test -d /selinux; then
>> +      AC_MSG_WARN([This system supports SELinux but libselinux is missing.])
>> +      AC_MSG_WARN([AC_PACKAGE_NAME will be compiled without SELinux 
>> support.])
>> +    fi
>> +    with_selinux=no
>>    fi
>>  ])
>>
> 
> Yes, of course!

thanks for confirming.
Pushed.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]