From 513d52d58915f291c0f706b67b8dc73f45de109f Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 7 Aug 2018 16:23:10 -0700 Subject: [PATCH] meson, automake: Drop unused USESTDRES cflag setup. Nothing in tree references the flag. Signed-off-by: Eric Anholt Reviewed-by: Peter Hutterer --- hw/xfree86/os-support/bsd/Makefile.am | 2 +- hw/xfree86/os-support/hurd/Makefile.am | 2 +- hw/xfree86/os-support/linux/Makefile.am | 2 +- hw/xfree86/os-support/meson.build | 2 -- hw/xfree86/os-support/solaris/Makefile.am | 2 +- 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/hw/xfree86/os-support/bsd/Makefile.am b/hw/xfree86/os-support/bsd/Makefile.am index 66ac83805..90d9e555f 100644 --- a/hw/xfree86/os-support/bsd/Makefile.am +++ b/hw/xfree86/os-support/bsd/Makefile.am @@ -49,7 +49,7 @@ ARCH_SOURCES = \ endif # FIXME: NetBSD Aperture defines (configure.ac) -AM_CFLAGS = -DUSESTDRES $(XORG_CFLAGS) $(DIX_CFLAGS) +AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS) AM_CPPFLAGS = $(XORG_INCS) diff --git a/hw/xfree86/os-support/hurd/Makefile.am b/hw/xfree86/os-support/hurd/Makefile.am index 38660544a..33857f459 100644 --- a/hw/xfree86/os-support/hurd/Makefile.am +++ b/hw/xfree86/os-support/hurd/Makefile.am @@ -10,6 +10,6 @@ libhurd_la_SOURCES = hurd_bell.c hurd_init.c \ $(srcdir)/../shared/kmod_noop.c \ $(srcdir)/../shared/agp_noop.c -AM_CFLAGS = -DUSESTDRES -DHAVE_SYSV_IPC $(XORG_CFLAGS) $(DIX_CFLAGS) +AM_CFLAGS = -DHAVE_SYSV_IPC $(XORG_CFLAGS) $(DIX_CFLAGS) AM_CPPFLAGS = $(XORG_INCS) diff --git a/hw/xfree86/os-support/linux/Makefile.am b/hw/xfree86/os-support/linux/Makefile.am index 9b4535b53..aa76a7b92 100644 --- a/hw/xfree86/os-support/linux/Makefile.am +++ b/hw/xfree86/os-support/linux/Makefile.am @@ -28,6 +28,6 @@ liblinux_la_SOURCES = linux.h lnx_init.c lnx_video.c \ $(APM_SRCS) \ $(LOGIND_SRCS) -AM_CFLAGS = -DUSESTDRES -DHAVE_SYSV_IPC $(DIX_CFLAGS) $(XORG_CFLAGS) $(PLATFORM_DEFINES) +AM_CFLAGS = -DHAVE_SYSV_IPC $(DIX_CFLAGS) $(XORG_CFLAGS) $(PLATFORM_DEFINES) AM_CPPFLAGS = $(XORG_INCS) $(PLATFORM_INCLUDES) $(LIBDRM_CFLAGS) diff --git a/hw/xfree86/os-support/meson.build b/hw/xfree86/os-support/meson.build index fb282be82..512bc8c1f 100644 --- a/hw/xfree86/os-support/meson.build +++ b/hw/xfree86/os-support/meson.build @@ -11,8 +11,6 @@ hdrs_xorg_os_support = [ 'xf86_OSproc.h' ] -os_support_flags = ['-DUSESTDRES'] - if get_option('pciaccess') srcs_xorg_os_support += 'bus/Pci.c' if host_machine.system() != 'linux' and host_machine.system() != 'solaris' diff --git a/hw/xfree86/os-support/solaris/Makefile.am b/hw/xfree86/os-support/solaris/Makefile.am index e534bc8dc..ae109ff09 100644 --- a/hw/xfree86/os-support/solaris/Makefile.am +++ b/hw/xfree86/os-support/solaris/Makefile.am @@ -29,7 +29,7 @@ nodist_libsolaris_la_SOURCES = $(SOLARIS_INOUT_SRC) sdk_HEADERS = nodist_sdk_HEADERS = solaris-@SOLARIS_INOUT_ARCH@.il -AM_CFLAGS = -DUSESTDRES -DHAVE_SYSV_IPC $(XORG_CFLAGS) $(DIX_CFLAGS) +AM_CFLAGS = -DHAVE_SYSV_IPC $(XORG_CFLAGS) $(DIX_CFLAGS) AM_CPPFLAGS = $(XORG_INCS)