log: Allow disabling of stdio
Some firmwares (e.g. Hostboot) don't provide stdio.h. Make sure we can
compile in these environments.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I3a5f414f12fbf9de70fb41033d610f81094848bf
diff --git a/configure.ac b/configure.ac
index 82d9737..9ae4681 100644
--- a/configure.ac
+++ b/configure.ac
@@ -23,6 +23,7 @@
# AC_ARG_WITH these in the future.
AC_DEFINE([MCTP_HAVE_SYSLOG], [1], [Define to enable syslog])
AC_DEFINE([MCTP_HAVE_FILEIO], [1], [Define to enable filesystem functions])
+AC_DEFINE([MCTP_HAVE_STDIO], [1], [Define to enable stdio functions])
AC_DEFINE([MCTP_DEFAULT_ALLOC], [1],
[Define to populate allocation functions to defaults (malloc/free)])