From: gdd Date: Tue, 20 Sep 2011 13:00:57 +0000 (+0000) Subject: Link to libPreCAD is optional X-Git-Tag: V6_4_0a1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=60415a8cfe1ce81f005de824a8dd5f182f7232d6;p=plugins%2Fblsurfplugin.git Link to libPreCAD is optional --- diff --git a/adm_local/unix/config_files/check_BLSURF.m4 b/adm_local/unix/config_files/check_BLSURF.m4 index 7c813cc..cab4337 100644 --- a/adm_local/unix/config_files/check_BLSURF.m4 +++ b/adm_local/unix/config_files/check_BLSURF.m4 @@ -63,7 +63,10 @@ if test "$with_blsurf" != "no" ; then LOCAL_LIBS="-L$BLSURF_HOME/lib -lBLSurf -lPreCAD" 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 -lPreCAD" + LOCAL_LIBS="-L$BLSURF_HOME/lib/Linux_64 -lBLSurf -ldistene" + if test -f $BLSURF_HOME/lib/Linux_64/libPreCAD.so ; then + LOCAL_LIBS="${LOCAL_LIBS} -lPreCAD" + fi fi fi