[PATCH weston] autotools: Fix AC_PATH_PROG call

Kristian Høgsberg krh at bitplanet.net
Mon Sep 2 19:13:03 PDT 2013


On Mon, Sep 2, 2013 at 5:21 AM, Stefan Schmidt <s.schmidt at samsung.com> wrote:
> Hello.
>
>
> On 08/24/2013 07:36 PM, Quentin Glidic wrote:
>>
>> From: Quentin Glidic <sardemff7+git at sardemff7.net>
>>
>> Signed-off-by: Quentin Glidic <sardemff7+git at sardemff7.net>
>> ---
>>
>> Sorry for the noise, this one is the good fix
>>
>>   configure.ac | 6 ++++--
>>   1 file changed, 4 insertions(+), 2 deletions(-)
>>
>> diff --git a/configure.ac b/configure.ac
>> index 156237f..4be0e4a 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -424,8 +424,10 @@ if test "x$have_lcms" = xyes; then
>>   fi
>>   AM_CONDITIONAL(HAVE_LCMS, [test "x$have_lcms" = xyes])
>>
>> -AC_PATH_PROG([wayland_scanner], [wayland-scanner],
>> -            [AC_MSG_ERROR("wayland-scanner is needed to compile
>> weston")])
>> +AC_PATH_PROG([wayland_scanner], [wayland-scanner])
>> +if test x$wayland_scanner = x; then
>> +       AC_MSG_ERROR([wayland-scanner is needed to compile weston])
>> +fi
>>
>>   AC_CONFIG_FILES([Makefile
>>                  shared/Makefile
>
>
> This patch fixes the problem for me. Now able again to use latest wayland
> and weston. Thanks a lot.

Yup, I saw the discussion go by - thanks for confirming.

Kristian


More information about the wayland-devel mailing list