Salome HOME
projects
/
plugins
/
blsurfplugin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
387ee74
)
Fix m4 macro in case of non existence of /usr/bin/arch
author
gdd
<gdd>
Wed, 2 Nov 2011 13:35:51 +0000
(13:35 +0000)
committer
gdd
<gdd>
Wed, 2 Nov 2011 13:35:51 +0000
(13:35 +0000)
adm_local/unix/config_files/check_BLSURF.m4
patch
|
blob
|
history
diff --git
a/adm_local/unix/config_files/check_BLSURF.m4
b/adm_local/unix/config_files/check_BLSURF.m4
index e96e4250fe3f9e2b0139ff09306e8005afe2d6de..cf519a3b561771b1800ce543f844842dcc8e211e 100644
(file)
--- a/
adm_local/unix/config_files/check_BLSURF.m4
+++ b/
adm_local/unix/config_files/check_BLSURF.m4
@@
-61,7
+61,11
@@
if test "$with_blsurf" != "no" ; then
LOCAL_INCLUDES="-I$BLSURF_HOME/include"
LOCAL_LIBS="-L$BLSURF_HOME/lib/Linux"
- if test $(`which arch`) = x86_64 ; then
+ archtest="$(`which arch`)"
+ if test "x$archtest" = "x" ; then
+ archtest="`uname -m`"
+ fi
+ if test $archtest = "x86_64" ; then
LOCAL_LIBS="-L$BLSURF_HOME/lib/Linux_64"
fi
LOCAL_LIBS="${LOCAL_LIBS} -ldistene -lBLSurf -lPreCAD"