From: vsr Date: Mon, 18 Mar 2013 10:45:32 +0000 (+0000) Subject: Additional change to previous patch to properly detect tbb X-Git-Tag: V6_main_FINAL~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1c72e8988c5c18fce23ecd0cccf6ad3f9421e4ff;p=modules%2Fkernel.git Additional change to previous patch to properly detect tbb --- 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