autoconf: check for reallocarray

it is needed for the new cache code
pull/241/head
Ariadne Conill 2 months ago
parent 464672404e
commit 664f741f26
  1. 2
      configure.ac

@ -22,7 +22,7 @@ AX_CHECK_COMPILE_FLAG([-std=gnu99], [CFLAGS="$CFLAGS -std=gnu99"], [
AX_CHECK_COMPILE_FLAG([-std=c99], [CFLAGS="$CFLAGS -std=c99"])
])
AC_CONFIG_HEADERS([libpkgconf/config.h])
AC_CHECK_FUNCS([strlcpy strlcat strndup])
AC_CHECK_FUNCS([strlcpy strlcat strndup reallocarray])
AC_CHECK_HEADERS([sys/stat.h])
AM_INIT_AUTOMAKE([foreign dist-xz subdir-objects])
AM_SILENT_RULES([yes])

Loading…
Cancel
Save