Add a quick check in configure for classads-devel so developers can be
alerted better that they need the classads-devel rpm.

Signed-off-by: Ian Main <[email protected]>
---
 configure.ac |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 1f1c212..38864c3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8,6 +8,8 @@ AC_PROG_CC
 AC_PROG_LIBTOOL
 AC_LANG([C++])
 
+AC_CHECK_HEADER(classad/classad_distribution.h,,AC_MSG_ERROR([Cannot find 
headers for classads.  Please install classads-devel rpm.]))
+
 AC_ARG_ENABLE(local,
   [  --enable-local   Set this flag if you are planning to run the aggregator 
without installing it.],
   [  DELTACLOUD_INSTALL_DIR=`pwd`/src ], [  DELTACLOUD_INSTALL_DIR=$pkgdatadir 
])
-- 
1.7.2.3

_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to