]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
Improve detection for lib blsurf on 64 bits
authoradam <adam>
Thu, 17 Mar 2011 09:50:51 +0000 (09:50 +0000)
committeradam <adam>
Thu, 17 Mar 2011 09:50:51 +0000 (09:50 +0000)
adm_local/unix/config_files/check_BLSURF.m4

index 98e4f05b558e473b684548a87f0622bee63394d7..42dbe794baeed7e0ba42c28a79d19fbb1d989746 100644 (file)
@@ -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"