[PATCH xserver 01/10] meson, automake: Drop unused USESTDRES cflag setup.

Eric Anholt eric at anholt.net
Tue Aug 7 23:23:10 UTC 2018


Nothing in tree references the flag.

Signed-off-by: Eric Anholt <eric at anholt.net>
---
 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 66ac838050bd..90d9e555f070 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 38660544ad57..33857f459a0f 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 9b4535b535b7..aa76a7b9286d 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 fb282be82a36..512bc8c1f951 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 e534bc8dc2c6..ae109ff09868 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- at 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) 
 
-- 
2.18.0



More information about the xorg-devel mailing list