From: gdd Date: Thu, 24 Mar 2011 13:52:09 +0000 (+0000) Subject: arch can be in /bin ot /usr/bin X-Git-Tag: Start_BR_19998_21191~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7f427dc3f53ebc8ba6da06a2b88ad0dd57988013;p=plugins%2Fblsurfplugin.git arch can be in /bin ot /usr/bin => use result of which arch --- diff --git a/adm_local/unix/config_files/check_BLSURF.m4 b/adm_local/unix/config_files/check_BLSURF.m4 index 55d4a51..fa2a5b2 100644 --- a/adm_local/unix/config_files/check_BLSURF.m4 +++ b/adm_local/unix/config_files/check_BLSURF.m4 @@ -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