AC_CANONICAL_SYSTEM
AC_PREFIX_DEFAULT(${PWD})
AC_CONFIG_SRCDIR(BASE/AliHLTComponent.cxx)
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([-Wno-portability])
AC_PROG_CC
AC_PROG_CXX
AC_PROG_LIBTOOL
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
AC_MSG_RESULT([$enable_sample])
dnl ------------------------------------------------------------------
-AC_MSG_CHECKING([whether to compile util library])
AH_TEMPLATE([HLT_UTIL],[HLT utility library])
-AC_ARG_ENABLE(util,
- [AC_HELP_STRING([--disable-util],
- [compile the util library ])],
- [],
- [if test "x$have_aliroot" = "xno" ; then
- enable_util="no...requires.AliRoot"
- else
- enable_util=yes
- fi
- ])
+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],
+ [], [-L$ROOTLIBDIR $ALIROOT_LDFLAGS],
+ [$ROOTLIBS $ADD_ROOTLIBS $ALIROOT_LIBS])
+if test "x$enable_module" = "xmissheader"; then
+ enable_module="no...missing.headers"
+ enable_util=$enable_module
+elif test "x$enable_module" = "xforce"; then
+ enable_util="yes"
+else
+ enable_util=$enable_module
+fi
if test "x$enable_util" = "xyes" ; then
AC_DEFINE(HLT_UTIL)
+ ALIUTIL_LIBS=$ALIHLTMODULE_LIBS
fi
AM_CONDITIONAL(EN_HLT_UTIL, test x$enable_util = xyes)
-AC_MSG_RESULT([$enable_util])
+AC_MSG_CHECKING([whether to compile Util library])
+AC_MSG_RESULT([$enable_module])
+AC_SUBST([ALIUTIL_LIBS])
dnl ------------------------------------------------------------------
AH_TEMPLATE([HLT_TPC],[hlt tpc library])
shuttle/Makefile
pendolino/Makefile
benchmark/Makefile
+ QA/Makefile
])
fi
if test "x$prefix" != "xNONE" && test $ALICE_ROOT = $prefix ; then