making the libHLTqadm conditional in the HLT build system (dependence on AliQAv1)
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 15 May 2009 14:08:00 +0000 (14:08 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 15 May 2009 14:08:00 +0000 (14:08 +0000)
HLT/Makefile.am
HLT/configure.ac

index 6327d3b..748ec42 100644 (file)
@@ -6,8 +6,7 @@ if HAVE_ALIROOT
 ALIROOT_DEP=sim \
            rec \
            shuttle \
-           pendolino \
-           QA
+           pendolino
 endif
 
 if EN_HLT_SAMPLE
@@ -62,6 +61,9 @@ if EN_HLT_JET
 JET_DIR=JET
 endif
 
+if EN_HLT_QA
+QA_DIR=QA
+endif
 
 SUBDIRS                = BASE \
                          $(ALIROOT_DEP) \
@@ -77,17 +79,17 @@ SUBDIRS             = BASE \
                           $(ITS_DIR) \
                           $(EMCAL_DIR) \
                           $(GLOBAL_DIR) \
-                         $(JET_DIR)
+                         $(JET_DIR) \
+                         $(QA_DIR) \
                          doc
 
-#$(JET_DIR) 
-
 EXTRA_DIST             = libHLTbase.pkg \
                          libHLTinterface.pkg \
                          libHLTsim.pkg \
                          libHLTrec.pkg \
                          libHLTshuttle.pkg \
                          libHLTpendolino.pkg \
+                         libHLTqadm.pkg \
                          libAliHLTHOMER.pkg \
                          libAliHLTUtil.pkg \
                          libAliHLTSample.pkg \
index dff36d1..d0aa542 100644 (file)
@@ -339,6 +339,10 @@ if test ! "x$have_aliroot" = "xno" ; then
   AC_MSG_CHECKING(AliRunLoader::Instance)
   AC_MSG_RESULT([$have_alirunloader30859])
 
+  have_aliqav1=no
+  AC_CHECK_HEADER([AliQAv1.h], [have_aliqav1=yes], [])
+  AM_CONDITIONAL(EN_HLT_QA, test x$have_aliqav1 = xyes)
+
   dnl
   dnl required header files and libraries for modules
   dnl