This patch builds a configure script that will check in the proper location for simgear headers if a "with-simgear" prefix is specified. Without this patch jpegfactory support is not recognized in FlightGear when the simgear libraries are in a non-standard location. Also, in the case of developers with multiple copies of simgear on disk, it is possible that no error is issued by configure if the path specified in --with-simgear is incorrect.
It looks like there are similar issues using "with-plib", but for now I'd like to submit this patch for cvs so that it can be further tested and commented on. I am not an autoconf expert. Best, Jim Wilson
configure_patch.diff.gz
Description: Binary data