From e6ab7f9f342f463092c45226f3294074351fdd5e Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 21 Nov 2019 11:23:18 -0500 Subject: xfree86: Test presence of isastream() isastream() was never more than a stub in glibc, and was removed in glibc-2.30 by commit a0a0dc83173c ("Remove obsolete, never-implemented XSI STREAMS declarations"). Bug: https://bugs.gentoo.org/700838 Reviewed-by: Julien Cristau Signed-off-by: Matt Turner --- include/dix-config.h.in | 3 +++ include/meson.build | 1 + 2 files changed, 4 insertions(+) (limited to 'include') diff --git a/include/dix-config.h.in b/include/dix-config.h.in index b463a17f3..1f91d2709 100644 --- a/include/dix-config.h.in +++ b/include/dix-config.h.in @@ -515,4 +515,7 @@ /* Have sigprocmask */ #undef HAVE_SIGPROCMASK +/* Have isastream */ +#undef HAVE_ISASTREAM + #endif /* _DIX_CONFIG_H_ */ diff --git a/include/meson.build b/include/meson.build index ddac43473..070178473 100644 --- a/include/meson.build +++ b/include/meson.build @@ -136,6 +136,7 @@ conf_data.set('HAVE_CBRT', cc.has_function('cbrt')) conf_data.set('HAVE_EPOLL_CREATE1', cc.has_function('epoll_create1')) conf_data.set('HAVE_GETUID', cc.has_function('getuid')) conf_data.set('HAVE_GETEUID', cc.has_function('geteuid')) +conf_data.set('HAVE_ISASTREAM', cc.has_function('isastream')) conf_data.set('HAVE_ISSETUGID', cc.has_function('issetugid')) conf_data.set('HAVE_GETIFADDRS', cc.has_function('getifaddrs')) conf_data.set('HAVE_GETPEEREID', cc.has_function('getpeereid')) -- cgit v1.2.3