configure: Add AC_USE_SYSTEM_EXTENSIONS & require autoconf 2.70
AC_USE_SYSTEM_EXTENSIONS
is needed on some systems to expose
the reallocarray()
prototype in stdlib.h
.
A minimum of autoconf 2.70 is needed for builds on NetBSD to work
correctly, since it depends on AC_USE_SYSTEM_EXTENSIONS
defining
_OPENBSD_SOURCE
to expose the prototype for reallocarray()
in stdlib.h
Closes: #5 (closed)
Fixes: fb596ae3 ("Use reallocarray() if it is available")
Signed-off-by: Alan Coopersmith alan.coopersmith@oracle.com