AC_PROG_LIBTOOL
AC_DEBUG
+AC_PROFILING
AC_OPTIMIZATION
AM_CONDITIONAL(STANDALONE_SAMPLELIB, test 0 )
# - from Jan 07 libESD also depends on libXMLIO
# - libSTEER depends on libProofPlayer since Oct 2007 (after v4-07-Release)
# - libCDB.so depends on libXMLParser since Mar 11 2009 r 31411
- ROOT_CHECKLIBS='Geom Minuit EG VMC TreePlayer XMLIO Thread Proof ProofPlayer XMLParser'
+ # - libCDB.so depends on libGui.so since May 14 2010 r 41238
+ ROOT_CHECKLIBS='Geom Minuit EG VMC TreePlayer XMLIO Thread Proof ProofPlayer XMLParser Gui'
for CHECKLIB in $ROOT_CHECKLIBS ; do
LDFLAGS="$save_LDFLAGS -L${ROOTLIBDIR}"
LIBS="$save_LIBS $ROOTLIBS $ADD_ROOTLIBS"
dnl
dnl check whether AliLog supports notification callback
+ dnl 2010-03-03: revision 38921 introduces AliLog::GetRootLogger in order to make AliLog
+ dnl a pure sigleton, introduce a 2-level check here
dnl
LIBS="$save_LIBS $ROOTLIBS $ALIROOT_LIBS"
have_alilog_notification=no
if test ! "x$have_aliroot" = "xno" ; then
AC_MSG_CHECKING([whether AliLog supports notification callback])
AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <AliLog.h>],
- [AliLog::AliLogNotification fct])],
- [have_alilog_notification=yes],
- [AC_DEFINE(NO_ALILOG_NOTIFICATION)])
+ [AliLog* logger=AliLog::GetRootLogger();])],
+ [have_alilog_notification=yes],
+ [AC_DEFINE(NO_ALILOG_GETROOTLOGGER)
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <AliLog.h>],
+ [AliLog::AliLogNotification fct])],
+ [have_alilog_notification=yes],
+ [AC_DEFINE(NO_ALILOG_NOTIFICATION)])
+ ])
AC_MSG_RESULT([$have_alilog_notification])
fi
have_aliqav1=no
AC_CHECK_HEADER([AliQAv1.h], [have_aliqav1=yes], [])
AM_CONDITIONAL(EN_HLT_QA, test x$have_aliqav1 = xyes)
+ AC_CHECK_HEADER([AliESDHLTDecision.h], [], [AC_DEFINE(HAVE_NOT_ALIESDHLTDECISION)])
+ AC_CHECK_HEADER([AliVCluster.h], [], [AC_DEFINE(HAVE_NOT_ALIVCLUSTER)])
dnl
dnl required header files and libraries for modules
AC_SUBST([ALIROOT_LDFLAGS])
AC_SUBST([ALIROOTBINDIR])
AC_SUBST([ALIROOTLIBDIR])
+
+ALIROOT_LIBS="$ALIROOT_LIBS $ADD_ROOTLIBS"
AC_SUBST([ALIROOT_LIBS])
AM_CONDITIONAL(USE_TPC_MAPPING, test x$have_tpc_mapping = xyes)
AC_ARG_ENABLE(component-stat,
[AC_HELP_STRING([--enable-component-stat],
[enable component statistics ])],
- [],[enable_component_stat=no])
-if test "x$enable_component_stat" = "xyes" ; then
+ [],[])
+
+dnl enable component statistics if not explicitely disabled
+if test "x$enable_component_stat" != "xno" &&
+ test "x$enable_debug" = "xyes" ; then
+ enable_component_stat=yes.debug
+fi
+
+if test "x$enable_component_stat" = "x" ; then
+ enable_component_stat=no
+fi
+
+if test "x$enable_component_stat" != "xno" ; then
AC_DEFINE(HLT_COMPONENT_STATISTICS)
fi
AC_MSG_RESULT([$enable_component_stat])
save_LDFLAGS=$LDFLAGS
save_LIBS=$LIBS
+dnl ------------------------------------------------------------------
+AC_MSG_NOTICE([-------------------------------------------------])
+AC_MSG_NOTICE([checking dependencies for HLTbase library])
+HLTBASE_CHECKLIBS='XMLParser'
+for CHECKLIB in $HLTBASE_CHECKLIBS ; do
+ LDFLAGS="$save_LDFLAGS -L${ROOTLIBDIR}"
+ LIBS="$save_LIBS $ROOTLIBS $ALIHLTBASE_LIBS"
+ AC_CHECK_LIB([$CHECKLIB],[_init], [ALIHLTBASE_LIBS="$ALIHLTBASE_LIBS -l$CHECKLIB"])
+done
+AC_SUBST([ALIHLTBASE_LIBS])
+
dnl ------------------------------------------------------------------
AC_MSG_CHECKING([whether to compile sample library])
AH_TEMPLATE([HLT_SAMPLE],[hlt sample library])
ALIUTIL_LIBS=
CHECK_HLTMODULE([util],
[],
- [$ALIROOT_CPPFLAGS -I$ALICE_ROOT/STEER -I$ALICE_ROOT/RAW -I$ALICE_ROOT/PYTHIA6],
- [], [-L$ROOTLIBDIR $ALIROOT_LDFLAGS], [$ROOTLIBS $ADD_ROOTLIBS $ALIROOT_LIBS],
+ [$ALIROOT_CPPFLAGS -I$ALICE_ROOT/STEER -I$ALICE_ROOT/RAW -I$ALICE_ROOT/PYTHIA6 -I$ALICE_ROOT/ANALYSIS],
+ [ANALYSIS ANALYSISalice], [-L$ROOTLIBDIR $ALIROOT_LDFLAGS], [$ROOTLIBS $ADD_ROOTLIBS $ALIROOT_LIBS],
[], [-L$ROOTLIBDIR $ALIROOT_LDFLAGS],
[$ROOTLIBS $ADD_ROOTLIBS $ALIROOT_LIBS])
cl.GetOutputClonesArray();])],
[have_tpc_hltoffline_rec=yes],
[AC_DEFINE(HAVE_NOT_TPCOFFLINE_REC)])
- LIBS=$save_LIBS
AC_MSG_RESULT([$have_tpc_hltoffline_rec])
+ have_alitpcclusterparam_r40128=no
+ AC_MSG_CHECKING([checking for AliTPCClusterParam r40128])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <AliTPCClusterParam.h>],
+ [AliTPCClusterParam param;
+ float test=param.ParamS0Par(0,0,0)]);],
+ [have_alitpcclusterparam_r40128=yes],
+ [AC_DEFINE(HAVE_NOT_ALITPCCLUSTERPARAM_r40128)])
+ AC_MSG_RESULT([$have_alitpcclusterparam_r40128])
+
+ LIBS=$save_LIBS
+
+
AC_CHECK_HEADER([AliTPCCalibPulser.h], [], [AC_DEFINE(HAVE_NOT_ALITPCCALIBPULSER)])
AC_CHECK_HEADER([AliTPCCalibPedestal.h], [], [AC_DEFINE(HAVE_NOT_ALITPCCALIBPEDESTAL)])
AC_CHECK_HEADER([AliAltroRawStreamV3.h], [], [AC_DEFINE(HAVE_NOT_ALTRORAWSTREAMV3)])
AC_MSG_RESULT([$enable_module])
AC_SUBST([ALIRCU_LIBS])
+dnl ------------------------------------------------------------------
+AH_TEMPLATE([HLT_CALO],[hlt calo(rimeter) library])
+
+ALICALO_LIBS=
+CHECK_HLTMODULE([calo],
+ [], [$ALIROOT_CPPFLAGS],
+ [RAWDatasim], [-L$ROOTLIBDIR $ALIROOT_LDFLAGS], [$ROOTLIBS $ADD_ROOTLIBS $ALIROOT_LIBS],
+ [EMCALUtils PHOSUtils PHOSbase PHOSrec PHOSsim PHOSshuttle], [-L$ROOTLIBDIR $ALIROOT_LDFLAGS],
+ [$ROOTLIBS $ADD_ROOTLIBS $ALIROOT_LIBS])
+
+if test "x$enable_module" = "xmissheader"; then
+ enable_module="no...missing.headers"
+ enable_calo=$enable_module
+elif test "x$enable_module" = "xforce"; then
+ enable_calo="yes"
+else
+ have_alicalorawstream=no
+ if test ! "x$have_aliroot" = "xno" ; then
+ AC_LANG_PUSH(C++)
+ save_CPPFLAGS="$CPPFLAGS"
+ # this can not be used as AliCaloRawStream.h indirectly depends on TString.h
+ #AC_CHECK_HEADERS([AliCaloRawStream.h], [have_alicalorawstream=yes])
+ CPPFLAGS="$save_CPPFLAGS $ALIROOT_CPPFLAGS -I$ALICE_ROOT/PHOS"
+ AC_MSG_CHECKING([for AliCaloRawStream.h usability])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <TString.h>
+ #include <AliCaloRawStream.h>],
+ [int i])],
+ [AC_DEFINE(HAVE_ALICALORAWSTREAM)
+ have_alicalorawstream=yes],
+ [])
+ AC_MSG_RESULT([$have_alicalorawstream])
+
+ have_aliesdcalocluster_r38477=no
+ AC_MSG_CHECKING([for AliESDCaloCluster r38477])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <AliESDCaloCluster.h>],
+ [AliESDCaloCluster cluster;
+ cluster.SetTrackDistance(0.0, 0.0)]);],
+ [have_aliesdcalocluster_r38477=yes],
+ [AC_DEFINE(HAVE_NOT_ALIESDCALOCLUSTER_r38477)])
+ AC_MSG_RESULT([$have_aliesdcalocluster_r38477])
+
+ AC_LANG_POP(C++)
+ CPPFLAGS="$save_CPPFLAGS"
+ fi
+ if test "x$have_alicalorawstream" != "xyes"; then
+ enable_calo="no...requires.AliRoot>v4-05-07"
+ else
+ enable_calo=$enable_module
+ fi
+fi
+
+if test "x$enable_calo" = "xyes" ; then
+ AC_DEFINE(HLT_CALO)
+ ALICALO_LIBS=$ALIHLTMODULE_LIBS
+else
+ enable_module=$enable_calo
+fi
+AM_CONDITIONAL(EN_HLT_CALO, test x$enable_calo = xyes)
+AC_MSG_CHECKING([whether to compile CALO library])
+AC_MSG_RESULT([$enable_module])
+AC_SUBST([ALICALO_LIBS])
+
dnl ------------------------------------------------------------------
AH_TEMPLATE([HLT_PHOS],[hlt phos library])
[AC_DEFINE(HAVE_ALICALORAWSTREAM)
have_alicalorawstream=yes],
[])
- AC_MSG_RESULT([$have_aliphosrecoparam])
+ AC_MSG_RESULT([$have_alicalorawstream])
+ have_aliphosrecoparamemc=no
AC_MSG_CHECKING([for required EMC functionality in AliPHOSRecoParam.h ])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <AliPHOSRecoParam.h>],
[AliPHOSRecoParam param;
param.GetEMCClusteringThreshold()])],
- [have_aliphosrecoparam=yes],
+ [have_aliphosrecoparamemc=yes],
[AC_DEFINE(HAVE_NOT_PHOSRECOPARAMEMC)])
- AC_MSG_RESULT([$have_alicalorawstream])
+ AC_MSG_RESULT([$have_aliphosrecoparamemc])
+
+ have_aliphosreconstructor_r44091=no
+ AC_MSG_CHECKING([for AliPHOSReconstructor r44091 ])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <AliPHOSReconstructor.h>],
+ [float e=0.0;
+ AliPHOSReconstructor::CorrectNonlinearity(e)])],
+ [have_aliphosreconstructor_r44091=yes],
+ [AC_DEFINE(HAVE_NOT_ALIPHOSRECONSTRUCTOR_r44091)])
+ AC_MSG_RESULT([$have_aliphosreconstructor_r44091])
+
AC_LANG_POP(C++)
CPPFLAGS="$save_CPPFLAGS"
fi
AC_MSG_RESULT([$enable_module])
AC_SUBST([ALIPHOS_LIBS])
+dnl ------------------------------------------------------------------
+AH_TEMPLATE([HLT_EMCAL],[hlt emcal library])
+
+ALIEMCAL_LIBS=
+CHECK_HLTMODULE([emcal],
+ [], [$ALIROOT_CPPFLAGS -I$ALICE_ROOT/EMCAL -I$ALICE_ROOT/VZERO],
+ [RAWDatasim], [-L$ROOTLIBDIR], [$ROOTLIBS $ADD_ROOTLIBS],
+ [EMCALrec EMCALsim EMCALbase EMCALUtils VZERObase], [-L$ROOTLIBDIR $ALIROOT_LDFLAGS],
+ [$ROOTLIBS $ADD_ROOTLIBS $ALIROOT_LIBS])
+
+if test "x$enable_module" = "xmissheader"; then
+ enable_module="no...header.missing"
+ enable_emcal=$enable_module
+elif test "x$enable_module" = "xforce"; then
+ enable_emcal="yes"
+else
+ enable_emcal=$enable_module
+fi
+
+if test "x$enable_emcal" = "xyes" ; then
+ AC_DEFINE(HLT_EMCAL)
+ ALIEMCAL_LIBS=$ALIHLTMODULE_LIBS
+else
+ enable_module=$enable_emcal
+fi
+AM_CONDITIONAL(EN_HLT_EMCAL, test x$enable_emcal = xyes)
+AC_MSG_CHECKING([whether to compile EMCAL library])
+AC_MSG_RESULT([$enable_module])
+AC_SUBST([ALIEMCAL_LIBS])
+
dnl ------------------------------------------------------------------
AH_TEMPLATE([HLT_TRD],[hlt trd library])
CHECK_HLTMODULE([trd],
[], [],
[MLP XMLParser], [-L$ROOTLIBDIR], [$ROOTLIBS $ADD_ROOTLIBS],
- [TRDbase TRDrec TRDsim], [-L$ROOTLIBDIR $ALIROOT_LDFLAGS],
+ [STAT TRDbase TRDrec], [-L$ROOTLIBDIR $ALIROOT_LDFLAGS],
[$ROOTLIBS $ADD_ROOTLIBS $ALIROOT_LIBS])
if test "x$enable_module" = "xmissheader"; then
# changed to AliTRDReconstructor::SetClusters() according to revision 28069, Mon Aug 18 2008
# changed to AliTRDCluster according to revision 30461, Thu Dec 18 2008
# changed to AliTRDclusterizer::GetAddedClusters according to revision 31299, Wed Mar 4 2009
+ # changed to AliTRDclusterizer::GetNTimeBins according to revision 37102 Sun Nov 22 2009
AC_MSG_CHECKING([for required functions in AliTRDclusterizer])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <AliTRDclusterizer.h>],
[AliTRDclusterizer c;
- c.GetAddedClusters()])],
+ c.GetNTimeBins()])],
[],
- [enable_trd="no...requires.AliRoot>v4-16-Release"])
+ [enable_trd="no...requires.AliRoot>v4-18-Release"])
AC_MSG_RESULT([$enable_trd])
+
+ if test "x$enable_trd" = "xyes" ; then
+ have_alitrdseedv1_r39693=no
+ AC_MSG_CHECKING([checking for AliTRDseedV1 r39693])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <AliTRDseedV1.h>],
+ [AliTRDseedV1 seed;
+ seed.SetC(0.0, 1)]);],
+ [have_alitrdseedv1_r39693=yes],
+ [AC_DEFINE(HAVE_NOT_ALITRD_SEEDV1_r39693)])
+ AC_MSG_RESULT([$have_alitrdseedv1_r39693])
+
+ have_alitrdrawstream_r39608=no
+ AC_MSG_CHECKING([checking for AliTRDrawStream r39608])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <AliTRDrawStreamBase.h>],
+ [AliTRDrawStreamBase::SetRawStreamVersion(AliTRDrawStreamBase::kTRDdefaultStream)]);],
+ [have_alitrdrawstream_r39608=yes],
+ [AC_DEFINE(HAVE_NOT_ALITRD_RAWSTREAM_r39608)])
+ AC_MSG_RESULT([$have_alitrdrawstream_r39608])
+
+ have_alitrdrecoparam_r41621=no
+ AC_MSG_CHECKING([checking for AliTRDrecoParam r41621])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <AliTRDrecoParam.h>],
+ [AliTRDrecoParam::GetLowFluxHLTParam()]);],
+ [have_alitrdrecoparam_r41621=yes],
+ [AC_DEFINE(HAVE_NOT_ALITRD_RECOPARAM_r41621)])
+ AC_MSG_RESULT([$have_alitrdrecoparam_r41621])
+
+ have_alitrdclusterizer_r42837=no
+ AC_MSG_CHECKING([checking for AliTRDclusterizer r42837])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <AliTRDclusterizer.h>],
+ [AliTRDclusterizer o; o.SetSkipTransform()]);],
+ [have_alitrdclusterizer_r42837=yes],
+ [AC_DEFINE(HAVE_NOT_ALITRD_CLUSTERIZER_r42837)])
+ AC_MSG_RESULT([$have_alitrdclusterizer_r42837])
+ fi
+
AC_LANG_POP(C++)
CPPFLAGS="$save_CPPFLAGS"
fi
AC_MSG_RESULT([$enable_module])
AC_SUBST([ALIFMD_LIBS])
+dnl ------------------------------------------------------------------
+AH_TEMPLATE([HLT_ZDC],[hlt zdc library])
+
+ALIZDC_LIBS=$ALIHLTMODULE_LIBS
+CHECK_HLTMODULE([zdc],
+ [], [$ALIROOT_CPPFLAGS],
+ [], [-L$ROOTLIBDIR], [$ROOTLIBS $ADD_ROOTLIBS],
+ [ZDCbase ZDCrec], [-L$ROOTLIBDIR $ALIROOT_LDFLAGS],
+ [$ROOTLIBS $ADD_ROOTLIBS $ALIROOT_LIBS])
+
+if test "x$enable_module" = "xmissheader"; then
+ enable_module="no...missing.headers"
+ enable_zdc=$enable_module
+elif test "x$enable_module" = "xforce"; then
+ enable_zdc="yes"
+else
+ enable_zdc=$enable_module
+
+ if test "x$enable_zdc" = "xyes" ; then
+ AC_LANG_PUSH(C++)
+ save_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="$save_CPPFLAGS $ALIROOT_CPPFLAGS -I$ALICE_ROOT/ZDC"
+
+
+ # AliZDCReconstructor::GetZDCESDData() is needed, requires revision 43770, Wed Sep 22 2010
+ have_alizdcreconstructor_r43770=no
+ AC_MSG_CHECKING([checking for AliZDCReconstructor::GetZDCESDData() r43770])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <AliZDCReconstructor.h>],
+ [AliZDCReconstructor rec;
+ rec.GetZDCESDData()])],
+ [have_alizdcreconstructor_r43770=yes],
+ [AC_DEFINE(HAVE_NOT_ALIZDCRECONSTRUCTOR_r43770)])
+ if test "x$have_alizdcreconstructor_r43770" != "xyes"; then
+ enable_zdc="no...requires.r43770"
+ fi
+ AC_MSG_RESULT([$have_alizdcreconstructor_r43770])
+
+ AC_LANG_POP(C++)
+ CPPFLAGS="$save_CPPFLAGS"
+ fi
+
+fi
+
+if test "x$enable_zdc" = "xyes" ; then
+ AC_DEFINE(HLT_ZDC)
+ ALIZDC_LIBS=$ALIHLTMODULE_LIBS
+else
+ enable_module=$enable_zdc
+fi
+AM_CONDITIONAL(EN_HLT_ZDC, test x$enable_zdc = xyes)
+AC_MSG_CHECKING([whether to compile ZDC library])
+AC_MSG_RESULT([$enable_module])
+AC_SUBST([ALIZDC_LIBS])
+
dnl ------------------------------------------------------------------
AH_TEMPLATE([HLT_MUON],[hlt dimuon library])
CHECK_HLTMODULE([global],
[], [$ALIROOT_CPPFLAGS],
[], [-L$ROOTLIBDIR], [$ROOTLIBS $ADD_ROOTLIBS],
- [], [-L$ROOTLIBDIR $ALIROOT_LDFLAGS],
+ [PHOSUtils ], [-L$ROOTLIBDIR $ALIROOT_LDFLAGS],
[$ROOTLIBS $ADD_ROOTLIBS $ALIROOT_LIBS])
if test "x$enable_module" = "xmissheader"; then
if test "x$with_fastjet" != "x" && test "x$with_fastjet" != "xno" ; then
ALIFASTJET_INCFLAGS="-I${with_fastjet}/include"
- ALIFASTJET_HEADER="PseudoJet.hh"
+ ALIFASTJET_HEADER="fastjet/PseudoJet.hh"
ALIFASTJET_LDFLAGS="-L${with_fastjet}/lib"
ALIFASTJET_LIBS="CGAL fastjet"
else
CHECK_HLTMODULE([jet],
[$ALIFASTJET_HEADER], [$ALIROOT_CPPFLAGS -I$ALICE_ROOT/JETAN $ALIFASTJET_INCFLAGS],
[$ALIFASTJET_LIBS], [-L$ROOTLIBDIR $ALIFASTJET_LDFLAGS], [$ROOTLIBS $ADD_ROOTLIBS],
- [AOD ESD ANALYSIS ANALYSISalice JETAN JETANMC],
- [-L$ROOTLIBDIR $ALIROOT_LDFLAGS -L$ALICE_ROOT/lib/tgt_$ALICE_TARGET],
+ [AOD ESD ANALYSIS ANALYSISalice JETAN],
+ [-L$ROOTLIBDIR $ALIROOT_LDFLAGS $ALIFASTJET_LDFLAGS -L$ALICE_ROOT/lib/tgt_$ALICE_TARGET],
[$ROOTLIBS $ADD_ROOTLIBS $ALIROOT_LIBS])
if test "x$enable_module" = "xmissheader"; then
if test "x$with_fastjet" != "xno"; then
AC_DEFINE(HAVE_FASTJET)
AC_DEFINE(WITHFASTJET)
- ALIJET_LIBS="$ALIJET_LIBS -L$FASTJET_LDFLAGS"
+ ALIJET_LIBS="$ALIJET_LIBS $FASTJET_LDFLAGS"
fi
AC_MSG_CHECKING([compilation with FASTJET package])
AC_MSG_RESULT($with_fastjet)
AC_MSG_RESULT([$enable_module])
AC_SUBST([ALIJET_LIBS])
+dnl ------------------------------------------------------------------
+AH_TEMPLATE([HLT_VZERO],[hlt vzero library])
+
+ALIVZERO_LIBS=
+CHECK_HLTMODULE([vzero],
+ [], [$ALIROOT_CPPFLAGS],
+ [], [-L$ROOTLIBDIR], [$ROOTLIBS $ADD_ROOTLIBS],
+ [], [-L$ROOTLIBDIR $ALIROOT_LDFLAGS],
+ [$ROOTLIBS $ADD_ROOTLIBS $ALIROOT_LIBS])
+
+if test "x$enable_module" = "xmissheader"; then
+ enable_module="no...header.missing"
+ enable_vzero=$enable_module
+elif test "x$enable_module" = "xforce"; then
+ enable_vzero="yes"
+else
+ enable_vzero=$enable_module
+
+ if test "x$enable_vzero" = "xyes" ; then
+ AC_LANG_PUSH(C++)
+ save_CPPFLAGS="$CPPFLAGS"
+ CPPFLAGS="$save_CPPFLAGS $ALIROOT_CPPFLAGS -I$ALICE_ROOT/VZERO"
+
+ # AliVZEROReconstructor::GetESDVZERO() is needed, requires revision 43718, Tue Sep 21 2010
+ AC_MSG_CHECKING([checking for AliVZEROReconstructor::GetESDVZERO() r43718])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <AliVZEROReconstructor.h>],
+ [AliVZEROReconstructor rec;
+ rec.GetESDVZERO()])],
+ [],
+ [enable_vzero="no...requires.r43718"])
+ AC_MSG_RESULT([$enable_vzero])
+
+ AC_LANG_POP(C++)
+ CPPFLAGS="$save_CPPFLAGS"
+ fi
+fi
+
+if test "x$enable_vzero" = "xyes" ; then
+ AC_DEFINE(HLT_VZERO)
+ ALIVZERO_LIBS=$ALIHLTMODULE_LIBS
+else
+ enable_module=$enable_vzero
+fi
+AM_CONDITIONAL(EN_HLT_VZERO, test x$enable_vzero = xyes)
+AC_MSG_CHECKING([whether to compile VZERO library])
+AC_MSG_RESULT([$enable_module])
+AC_SUBST([ALIVZERO_LIBS])
+
dnl ------------------------------------------------------------------
AH_TEMPLATE([HLT_ITS],[hlt its library])
AC_MSG_RESULT([$enable_module])
AC_SUBST([ALIITS_LIBS])
-dnl ------------------------------------------------------------------
-AH_TEMPLATE([HLT_EMCAL],[hlt emcal library])
-
-ALIEMCAL_LIBS=
-CHECK_HLTMODULE([emcal],
- [], [$ALIROOT_CPPFLAGS -I$ALICE_ROOT/EMCAL],
- [RAWDatasim], [-L$ROOTLIBDIR], [$ROOTLIBS $ADD_ROOTLIBS],
- [EMCALrec EMCALsim EMCALbase], [-L$ROOTLIBDIR $ALIROOT_LDFLAGS],
- [$ROOTLIBS $ADD_ROOTLIBS $ALIROOT_LIBS])
-
-if test "x$enable_module" = "xmissheader"; then
- enable_module="no...header.missing"
- enable_emcal=$enable_module
-elif test "x$enable_module" = "xforce"; then
- enable_emcal="yes"
-else
- enable_emcal=$enable_module
-fi
-
-if test "x$enable_emcal" = "xyes" ; then
- AC_DEFINE(HLT_EMCAL)
- ALIEMCAL_LIBS=$ALIHLTMODULE_LIBS
-else
- enable_module=$enable_emcal
-fi
-AM_CONDITIONAL(EN_HLT_EMCAL, test x$enable_emcal = xyes)
-AC_MSG_CHECKING([whether to compile EMCAL library])
-AC_MSG_RESULT([$enable_module])
-AC_SUBST([ALIEMCAL_LIBS])
-
dnl ------------------------------------------------------------------
AH_TEMPLATE([HLT_COMP],[hlt comp library])
AC_MSG_RESULT([$enable_doc])
AM_CONDITIONAL(MONOLITHIC_DOC, test "x$enable_doc" = "xmono")
-AM_CONDITIONAL(HAVE_DOXYGEN, test ! "x$DOXYGEN" = "x")
+AM_CONDITIONAL(BUILD_DOC, test ! "x$DOXYGEN" = "x")
AC_SUBST([HAVE_DOT])
AC_SUBST([DOT_PATH])
TPCLib/test/Makefile
TPCLib/mapping2array.cxx
TPCLib/EVE/Makefile
+ TPCLib/calibration/Makefile
])
fi
+AC_MSG_NOTICE([compile CALO library: $enable_calo])
+if test "x$enable_calo" = "xyes"; then
+ AC_CONFIG_FILES([CALO/Makefile
+ CALO/test/Makefile])
+fi
+
AC_MSG_NOTICE([compile PHOS library: $enable_phos])
if test "x$enable_phos" = "xyes"; then
AC_CONFIG_FILES([PHOS/Makefile])
fi
+AC_MSG_NOTICE([compile EMCAL library: $enable_emcal])
+if test "x$enable_emcal" = "xyes"; then
+ AC_CONFIG_FILES([EMCAL/Makefile])
+fi
+
AC_MSG_NOTICE([compile TRD library: $enable_trd])
if test "x$enable_trd" = "xyes"; then
AC_CONFIG_FILES([TRD/Makefile])
AC_CONFIG_FILES([FMD/Makefile])
fi
+AC_MSG_NOTICE([compile ZDC library: $enable_zdc])
+if test "x$enable_zdc" = "xyes"; then
+ AC_CONFIG_FILES([ZDC/Makefile])
+fi
+
AC_MSG_NOTICE([compile MUON library: $enable_muon])
if test "x$enable_muon" = "xyes"; then
AC_CONFIG_FILES([MUON/Makefile])
AC_CONFIG_FILES([ITS/Makefile])
fi
-AC_MSG_NOTICE([compile EMCAL library: $enable_emcal])
-if test "x$enable_emcal" = "xyes"; then
- AC_CONFIG_FILES([EMCAL/Makefile])
-fi
-
AC_MSG_NOTICE([compile trigger library: $enable_trigger])
if test "x$enable_trigger" = "xyes"; then
AC_CONFIG_FILES([trigger/Makefile
AC_CONFIG_FILES([JET/Makefile])
fi
+AC_MSG_NOTICE([compile vzero library: $enable_vzero])
+if test "x$enable_vzero" = "xyes"; then
+ AC_CONFIG_FILES([VZERO/Makefile])
+fi
+
AC_MSG_NOTICE([compile comp library: $enable_comp])
if test "x$enable_comp" = "xyes"; then
AC_CONFIG_FILES([comp/Makefile])