From 7f427dc3f53ebc8ba6da06a2b88ad0dd57988013 Mon Sep 17 00:00:00 2001 From: gdd Date: Thu, 24 Mar 2011 13:52:09 +0000 Subject: [PATCH] arch can be in /bin ot /usr/bin => use result of which arch --- adm_local/unix/config_files/check_BLSURF.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2