]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
arch can be in /bin ot /usr/bin
authorgdd <gdd>
Thu, 24 Mar 2011 13:52:09 +0000 (13:52 +0000)
committergdd <gdd>
Thu, 24 Mar 2011 13:52:09 +0000 (13:52 +0000)
=> use result of which arch

adm_local/unix/config_files/check_BLSURF.m4

index 55d4a51738c00e25a3f7fef0c882bf5ca754d004..fa2a5b27313e5be0b5a044b97d46502a488efa38 100644 (file)
@@ -61,7 +61,7 @@ if test "$with_blsurf" != "no" ; then
 
     LOCAL_INCLUDES="-I$BLSURF_HOME/include"
     LOCAL_LIBS="-L$BLSURF_HOME/lib -lBLSurf"
-    if test $(/bin/arch) = x86_64 ; then
+    if test $(`which arch`) = x86_64 ; then
       if test -f $BLSURF_HOME/lib/Linux_64/libBLSurf.so ; then
         LOCAL_LIBS="-L$BLSURF_HOME/lib/Linux_64 -lBLSurf -ldistene"
       fi