From: adam Date: Thu, 17 Mar 2011 09:50:51 +0000 (+0000) Subject: Improve detection for lib blsurf on 64 bits X-Git-Tag: Start_BR_19998_21191~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c57ea00eadd8c5337876a3f1d3ec59f8a2b8941c;p=plugins%2Fblsurfplugin.git Improve detection for lib blsurf on 64 bits --- diff --git a/adm_local/unix/config_files/check_BLSURF.m4 b/adm_local/unix/config_files/check_BLSURF.m4 index 98e4f05..42dbe79 100644 --- a/adm_local/unix/config_files/check_BLSURF.m4 +++ b/adm_local/unix/config_files/check_BLSURF.m4 @@ -61,6 +61,11 @@ if test "$with_blsurf" != "no" ; then BLSURF_INCLUDES="-I$BLSURF_HOME/include" BLSURF_LIBS="-L$BLSURF_HOME/lib -lBLSurf" + if test $(/bin/arch) = x86_64 ; then + if test -f $BLSURF_HOME/lib/Linux_64/libBLSurf.so ; then + BLSURF_LIBS="-L$BLSURF_HOME/lib/Linux_64 -lBLSurf" + fi + fi CPPFLAGS_old="$CPPFLAGS" CXXFLAGS_old="$CXXFLAGS"