<div class="gmail_quote">On Wed, Apr 13, 2011 at 17:42, Jason Kraftcheck <span dir="ltr"><<a href="mailto:kraftche@cae.wisc.edu">kraftche@cae.wisc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":167">Actually, we don't even need the configure logic. Just use #ifdefs based on<br>
the values defined on OCC's Standard_Version.hxx.</div></blockquote></div><br><div>Linking is different:</div><div><br></div><div><div>diff --git a/<a href="http://configure.ac">configure.ac</a> b/<a href="http://configure.ac">configure.ac</a></div>
<div>index 8994977..1e8a6a4 100644</div><div>--- a/<a href="http://configure.ac">configure.ac</a></div><div>+++ b/<a href="http://configure.ac">configure.ac</a></div><div>@@ -354,7 +354,7 @@ HAVE_OCC_DEF=</div><div> if test "x$occ_DIR" != "xno"; then</div>
<div> OCC_CORE_LIBS="-lTKMesh -lTKTopAlgo -lTKGeomAlgo -lTKBRep -lTKGeomBase -lTKG3d -lTKG2d -lTKMath -lTKernel"</div><div> OCC_GEOM_LIBS="-lTKHLR -lTKOffset -lTKShHealing -lTKFillet -lTKFeat -lTKBool -lTKBO -lTKPrim"</div>
<div>- OCC_LCAF_LIBS="-lTKBinL -lTKLCAF -lTKCDF"</div><div>+ OCC_LCAF_LIBS="-lTKBinL -lTKLCAF -lTKCDF -lTKCAF"</div><div> OCC_LIBS="$OCC_LCAF_LIBS $OCC_GEOM_LIBS $OCC_CORE_LIBS"</div><div>
CUBIT_OCC_LIB="-lcubit_OCC"</div><div> OCC_STEP_LIBS="-lTKSTEP -lTKSTEP209 -lTKSTEPAttr -lTKSTEPBase -lTKXSBase"</div></div>