diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-08-03 16:13:21 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2019-08-03 19:31:14 -0700 |
commit | 27207d35d4b4bbd5d2b2c5f7e13a61ea43d04a4a (patch) | |
tree | 9cee5d22b4cc6b03924fbc5d225a1c020bc9401f /configure.ac | |
parent | 2178c7445a3464bd69637ad91a2dd0320a60e0df (diff) |
Add reallocarray fallback if not provided by libc nor libbsd
Implementation copied from the Xserver
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 970d9a3..8858b3e 100644 --- a/configure.ac +++ b/configure.ac @@ -54,7 +54,7 @@ AC_CHECK_HEADERS([endian.h poll.h sys/poll.h]) AC_CHECK_FUNCS([poll readlink]) AC_SEARCH_LIBS([strlcat], [bsd]) AC_CONFIG_LIBOBJ_DIR([src/util]) -AC_REPLACE_FUNCS([strlcat strlcpy]) +AC_REPLACE_FUNCS([reallocarray strlcat strlcpy]) # If the first PKG_CHECK_MODULES appears inside a conditional, pkg-config # must first be located explicitly. |