From: jthaeder Date: Mon, 27 Sep 2010 13:19:27 +0000 (+0000) Subject: add check for vzero compilation for r43718 X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=e50360e7cc717dc9bd7f0c058fe3ba951d7d4830 add check for vzero compilation for r43718 --- diff --git a/HLT/configure.ac b/HLT/configure.ac index bde96fcd23c..c20874e44ff 100644 --- a/HLT/configure.ac +++ b/HLT/configure.ac @@ -1248,6 +1248,24 @@ 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 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