From c57ea00eadd8c5337876a3f1d3ec59f8a2b8941c Mon Sep 17 00:00:00 2001 From: adam Date: Thu, 17 Mar 2011 09:50:51 +0000 Subject: [PATCH] Improve detection for lib blsurf on 64 bits --- adm_local/unix/config_files/check_BLSURF.m4 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/adm_local/unix/config_files/check_BLSURF.m4 b/adm_local/unix/config_files/check_BLSURF.m4 index 98e4f05..42dbe79 100644 --- a/adm_local/unix/config_files/check_BLSURF.m4 +++ b/adm_local/unix/config_files/check_BLSURF.m4 @@ -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" -- 2.39.2