Darryl L. Pierce
2010-May-26 15:24 UTC
[Ovirt-devel] [PATCH matahari] Adds a check for the qmf-gen executable to the autoconf setup.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- configure.ac | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index 6666c95..42d319b 100644 --- a/configure.ac +++ b/configure.ac @@ -7,6 +7,13 @@ AM_INIT_AUTOMAKE AC_PROG_CXX AC_PROG_CC AC_PROG_CPP + +AC_CHECK_PROG(HASQMFGEN, qmf-gen, "yes") + +if test x"$HASQMFGEN" = "x"; then + AC_MSG_ERROR([Missing QMF schema processor.]) +fi + AC_CHECK_HEADERS([arpa/inet.h netinet/in.h sys/ioctl.h sys/socket.h unistd.h libudev.h]) # Checks for typedefs, structures, and compiler characteristics. -- 1.7.0.1