On 05.09.2012 11:27, Michal Privoznik wrote:
---
.gitignore | 1 +
Makefile.am | 2 +-
configure.ac | 6 +-
examples/Makefile.am | 23 ++++
examples/virtxml.c | 334 ++++++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 364 insertions(+), 2 deletions(-)
create mode 100644 examples/Makefile.am
create mode 100644 examples/virtxml.c
Oh, I forgot to update configure.ac to check for newly introduced functions:
diff --git a/configure.ac b/configure.ac
index ebe7b35..bdee845 100644
--- a/configure.ac
+++ b/configure.ac
@@ -31,6 +31,12 @@ AC_SUBST([LIBVIRT_DESIGNER_VERSION_NUMBER])
AC_PROG_CC
AM_PROG_CC_C_O
+AC_CHECK_FUNCS([strchr])
+AC_CHECK_FUNCS([strrchr])
+AC_CHECK_FUNCS([uname])
+AC_PROG_CXX
+AC_PROG_RANLIB
+AC_TYPE_SIZE_T
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
Will squash in just before pushing.
Michal