[PATCH weston] configure: remove double equal test bashism
Quentin Glidic
sardemff7+wayland at sardemff7.net
Sat Oct 1 09:13:05 UTC 2016
On 01/10/2016 11:01, Armin Krezović wrote:
> On 29.09.2016 22:24, Murray Calavera wrote:
>> Signed-off-by: Murray Calavera <murray.calavera at gmail.com>
>
> Reviewed-by: Armin Krezović <krezovic.armin at gmail.com>
Thanks for this patch.
Reviewed-by: Quentin Glidic <sardemff7+git at sardemff7.net>
And pushed:
e338ced..5d69343 master -> master
Cheers,
>
>> ---
>> configure.ac | 6 +++---
>> 1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/configure.ac b/configure.ac
>> index f35e887..72715a6 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -440,10 +440,10 @@ AS_IF([test "x$enable_resize_optimization" = "xyes"],
>> [AC_DEFINE([USE_RESIZE_POOL], [1], [Use resize memory pool as a performance optimization])])
>>
>> AC_ARG_ENABLE(weston-launch, [ --enable-weston-launch],, enable_weston_launch=yes)
>> -AM_CONDITIONAL(BUILD_WESTON_LAUNCH, test x$enable_weston_launch == xyes)
>> -if test x$enable_weston_launch == xyes; then
>> +AM_CONDITIONAL(BUILD_WESTON_LAUNCH, test x$enable_weston_launch = xyes)
>> +if test x$enable_weston_launch = xyes; then
>> WESTON_SEARCH_LIBS([PAM], [pam], [pam_open_session], [have_pam=yes], [have_pam=no])
>> - if test x$have_pam == xno; then
>> + if test x$have_pam = xno; then
>> AC_ERROR([weston-launch requires pam])
>> fi
>> fi
>>
--
Quentin “Sardem FF7” Glidic
More information about the wayland-devel
mailing list