On 2010-02-09 11.08, Erik Hofman wrote:
> Erik Hofman wrote:
> I've updated configure of both FlightGear and SimGear to bail out if the
> OpenScenegraph libraries are not found. SimGear has a simple check for
> OpenThreads and OSG version number and a more extensive error report.
> FlightGear checks for every required library separately.
>
> I did comment out some lines for MacOS framework users in SimGear
> because I don't think they are needed there. Please report if I was wrong.


I had to remove one line in the simgear/configure.ac to get through 
compilation:

@@ -497,7 +509,6 @@ case "${host}" in
          dnl instead of OSG frameworks on Mac OS X
          dnl
          AC_CHECK_LIB(OpenThreads,OpenThreadsGetVersion)
-        LDFLAGS="$LDFLAGS -L$with_osg"
      fi
      ;;
  *)

The problem is that -L$with_osg will evaluate to a plain -L resulting in 
linker issues during build.

Otherwise the changes works for me on a mac setup with no use of OSG 
frameworks.


Jari

------------------------------------------------------------------------------
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

Reply via email to