On 02/15/2010 11:53 AM, Geoff McLane wrote: > Just did a full SG cvs update, and this > acinclude.m4 patch _BREAKS_ the SG build for me!
OK. It's a bug. Thanks for testing. Here's the patch. Please try again. ==================================== The reason for fussing with SG first is simple: this is where Joe User is going to get into trouble. It doesn't matter how good the FG configuration is if Joe cannot get to that stage. And trust me, SG will not build if it cannot find the OpenThreads libraries, which are bundled in with OSG these days, and located in lib64/ by default. A lot of stuff I do makes more sense if you look at it from the Joe User point of view. I will fix up the FG side of things eventually. commit 5764d1b7da5cb25947f6ada47aa45fe6b2272cec Author: John Denker <j...@av8n.com> Date: Mon Feb 15 14:50:29 2010 -0700 Fix sneaky bug: 'mylibdir' variable getting trampled. diff --git a/acinclude.m4 b/acinclude.m4 index 889cbf4..0059bbf 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -113,14 +113,14 @@ for subexdir in $subexdirs ; do dnl On 64-bit machines, if lib64/ exists and is not identical to lib/ dnl then it should be listed here, listed ahead of lib/. mylibdir64="${exdir}/lib64${subexdir}" - mylibdir="${exdir}/lib${subexdir}" + mylibdir32="${exdir}/lib${subexdir}" if test "x86_64" = $(uname -m) \ - -a ! ${mylibdir64} -ef ${mylibdir} ; then + -a ! ${mylibdir64} -ef ${mylibdir32} ; then wi_EXTRA_LDIR($mylibdir64) fi - wi_EXTRA_LDIR($mylibdir) + wi_EXTRA_LDIR($mylibdir32) progdir="${exdir}/bin${subexdir}" wi_EXTRA_PDIR($progdir) ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel