summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-06-11 10:00:29 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-06-11 10:00:29 -0700
commitd965a1a8ce9331d2aaf1c697a29455ad55171b36 (patch)
tree0cf9482693de83af5cfff950b5086eca68a71b72 /configure.ac
parente6ff50b4634f2f2211997444a73d35277a0608d4 (diff)
downloadxorg-lib-libXext-d965a1a8ce9331d2aaf1c697a29455ad55171b36.tar.gz
Import reallocarray() from libX11
Originally from OpenBSD, based on libx11@bcf7b5aa Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 86a479a..cffefcf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,6 +40,7 @@ AC_SUBST(XEXT_SOREV)
PKG_CHECK_MODULES(XEXT, [xproto >= 7.0.13] [x11 >= 1.6] [xextproto >= 7.1.99])
AX_GCC_BUILTIN([__builtin_popcountl])
+AC_REPLACE_FUNCS([reallocarray])
# Allow checking code with lint, sparse, etc.
XORG_WITH_LINT