On Sun, 2018-02-18 at 10:58 +0100, Laurent Carlier wrote: > diff --git a/hw/xfree86/os-support/meson.build > b/hw/xfree86/os-support/meson.build > index dfb613e..683aca0 100644 > --- a/hw/xfree86/os-support/meson.build > +++ b/hw/xfree86/os-support/meson.build > @@ -35,6 +35,9 @@ if host_machine.system() == 'linux' > # this is ugly because the code is also > if build_apm or build_acpi > srcs_xorg_os_support += 'linux/lnx_apm.c' > + if build_apm > + xorg_c_args += '-DHAVE_APM' > + endif > if build_acpi > srcs_xorg_os_support += 'linux/lnx_acpi.c' > endif
I'd prefer if we moved those -D's into the relevant config.h, that's why we have them. This applies to the ACPI patch too. - ajax _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: https://lists.x.org/mailman/listinfo/xorg-devel