Here are the two modifications I had to make to get flightgear (just
updated from CVS) to build. The first one is for being able to specify
SimGear's location at the ./configure command line, and the second one
is to be able to link.
if test -d /opt/X11R6 ; then
EXTRA_DIR2="/opt/X11R6"
fi
- EXTRA_DIRS="$EXTRA_DIR1 $EXTRA_DIR2"
+ EXTRA_DIRS="${EXTRA_DIRS} $EXTRA_DIR1 $EXTRA_DIR2"
;;
esac
js_demo_SOURCES = js_demo.cxx
-js_demo_LDADD = -lplibjs -lplibul $(audio_LIBS)
+js_demo_LDADD = -lplibjs $(audio_LIBS) -lplibul
fgjs_SOURCES = fgjs.cxx jsinput.cxx jsinput.h jssuper.cxx jssuper.h
-fgjs_LDADD = -lplibjs -lplibul $(audio_LIBS)
+fgjs_LDADD = -lplibjs $(audio_LIBS) -lplibul
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/src