Re: [PATCH xserver 4/7] meson: Make driprotos and libdrm optional

2017-05-09 Thread Eric Anholt
Jon Turney writes: > On 08/05/2017 21:28, Jon Turney wrote: >> On 08/05/2017 18:12, Eric Anholt wrote: >>> Jon Turney writes: +libxserver_dri3 = '' >>> >>> Pretty sure this should be = [] >> >> Yeah, me too. But when I try it: >> >>> Meson encountered an error

Re: [PATCH xserver 4/7] meson: Make driprotos and libdrm optional

2017-05-09 Thread Jon Turney
On 08/05/2017 21:28, Jon Turney wrote: On 08/05/2017 18:12, Eric Anholt wrote: Jon Turney writes: +libxserver_dri3 = '' Pretty sure this should be = [] Yeah, me too. But when I try it: Meson encountered an error in file hw/kdrive/ephyr/meson.build, line 40, column 0: Link target [] is

Re: [PATCH xserver 4/7] meson: Make driprotos and libdrm optional

2017-05-08 Thread Jon Turney
On 08/05/2017 18:12, Eric Anholt wrote: Jon Turney writes: +libxserver_dri3 = '' Pretty sure this should be = [] Yeah, me too. But when I try it: Meson encountered an error in file hw/kdrive/ephyr/meson.build, line 40, column 0: Link target [] is not library. Hmmm.. if I add it with

Re: [PATCH xserver 4/7] meson: Make driprotos and libdrm optional

2017-05-08 Thread Eric Anholt
Jon Turney writes: > Add options for DRI{1,2,3} > shmfence is required for DRI3 > libdrm is required for any DRI{1,2,3} > Consolidate calls to dependency('libdrm') > Set WITH_LIBDRM when building with libdrm > > (configure.ac had LIBDRM as independently disableable