Check whether a prototype for vasprintf is needed
authorKen Raeburn <raeburn@mit.edu>
Fri, 27 Jul 2007 04:38:18 +0000 (04:38 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 27 Jul 2007 04:38:18 +0000 (04:38 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19734 dc483132-0cff-0310-8789-dd5450dbe970

src/configure.in

index 9e41b62c31294adc4028b7587110348a80da295d..3e5d3f5a627fdc14aff18fab6e5bccc2f35d8ad3 100644 (file)
@@ -90,6 +90,9 @@ AC_SUBST(LIBUTIL)
 dnl for kdc
 AC_CHECK_HEADERS(syslog.h stdarg.h sys/select.h sys/sockio.h ifaddrs.h unistd.h)
 AC_CHECK_FUNCS(openlog syslog closelog strftime vsprintf vasprintf vsnprintf)
+KRB5_NEED_PROTO([#include <stdarg.h>
+#include <stdio.h>
+],vasprintf)
 KRB5_NEED_PROTO([#include <string.h>
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>