From 1c72e8988c5c18fce23ecd0cccf6ad3f9421e4ff Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 18 Mar 2013 10:45:32 +0000 Subject: [PATCH] Additional change to previous patch to properly detect tbb --- salome_adm/unix/config_files/check_tbb.m4 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/salome_adm/unix/config_files/check_tbb.m4 b/salome_adm/unix/config_files/check_tbb.m4 index 5c3410d68..4ba8e5119 100644 --- a/salome_adm/unix/config_files/check_tbb.m4 +++ b/salome_adm/unix/config_files/check_tbb.m4 @@ -76,10 +76,11 @@ if test "x$TBBHOME" != "xno"; then else INTEL_LOCAL_LIB="$TBBHOME/lib/ia32/$TBBKERNEL" fi - if test ! -z ${INTEL_LOCAL_LIB}; then + if test ! -d ${INTEL_LOCAL_LIB} ; then + INTEL_LOCAL_LIB="${TBBHOME}/lib" + fi + if test -d ${INTEL_LOCAL_LIB} ; then LOCAL_LIBS="-L${INTEL_LOCAL_LIB} $LOCAL_LIBS" - else - LOCAL_LIBS="-L${TBBHOME}/lib $LOCAL_LIBS" fi fi fi -- 2.39.2