AC_PROG_LIBTOOL
AC_DEBUG
+AC_PROFILING
AC_OPTIMIZATION
AM_CONDITIONAL(STANDALONE_SAMPLELIB, test 0 )
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])
[have_alitrdrecoparam_r34995=yes],
[AC_DEFINE(HAVE_NOT_ALITRDRECOPARAM_r34995)])
AC_MSG_RESULT([$have_alitrdrecoparam_r34995])
-
+
+ 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])
fi
AC_LANG_POP(C++)
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
[$ALIFASTJET_HEADER], [$ALIROOT_CPPFLAGS -I$ALICE_ROOT/JETAN $ALIFASTJET_INCFLAGS],
[$ALIFASTJET_LIBS], [-L$ROOTLIBDIR $ALIFASTJET_LDFLAGS], [$ROOTLIBS $ADD_ROOTLIBS],
[AOD ESD ANALYSIS ANALYSISalice JETAN],
- [-L$ROOTLIBDIR $ALIROOT_LDFLAGS -L$ALICE_ROOT/lib/tgt_$ALICE_TARGET],
+ [-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