aboutsummaryrefslogtreecommitdiff
path: root/configure.ac.tpl
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2014-07-28 19:26:15 -0500
committerBrent Cook <bcook@openbsd.org>2014-07-29 11:17:22 -0500
commit35e2d8d0485322558a8c4b726674a5293d6aec37 (patch)
treead0d41a52ecaa23306c8207f344598f83cbe16ed /configure.ac.tpl
parent02ad0041c4f055c541be15ce3f4df9fd65236004 (diff)
downloadportable-35e2d8d0485322558a8c4b726674a5293d6aec37.tar.gz
portable-35e2d8d0485322558a8c4b726674a5293d6aec37.tar.bz2
portable-35e2d8d0485322558a8c4b726674a5293d6aec37.zip
add asprintf / vasprintf from OpenSSH portable
ok deraadt@ beck@
Diffstat (limited to 'configure.ac.tpl')
-rw-r--r--configure.ac.tpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac.tpl b/configure.ac.tpl
index bb5e04a..de3995c 100644
--- a/configure.ac.tpl
+++ b/configure.ac.tpl
@@ -72,6 +72,11 @@ AC_CHECK_FUNC(strndup,
72 AC_DEFINE(NO_STRNDUP) 72 AC_DEFINE(NO_STRNDUP)
73 AM_CONDITIONAL(NO_STRNDUP, true)) 73 AM_CONDITIONAL(NO_STRNDUP, true))
74 74
75AC_CHECK_FUNC(asprintf,
76 AM_CONDITIONAL(NO_ASPRINTF, false),
77 AC_DEFINE(NO_ASPRINTF)
78 AM_CONDITIONAL(NO_ASPRINTF, true))
79
75AC_CHECK_FUNC(reallocarray, 80AC_CHECK_FUNC(reallocarray,
76 AM_CONDITIONAL(NO_REALLOCARRAY, false), 81 AM_CONDITIONAL(NO_REALLOCARRAY, false),
77 AC_DEFINE(NO_REALLOCARRAY) 82 AC_DEFINE(NO_REALLOCARRAY)