Hi,

for fgpanel I need extra library including, see attached patch
fgpanel.diff. For fgpanel, the program 'fluid' is required to complete
compilation. I don't know how to add a check to configure.ac (in
utils/fgadmin/) to do this. Maybe you can take a look at this?

And I made a patch for out-of-source-tree builds for fgadmin, see
attached fgadmin.diff.

Regards,
Roland

diff --git a/utils/fgadmin/src/Makefile.am b/utils/fgadmin/src/Makefile.am
index e646719..7693d4d 100644
--- a/utils/fgadmin/src/Makefile.am
+++ b/utils/fgadmin/src/Makefile.am
@@ -11,4 +11,4 @@ fgadmin_SOURCES = \
 fgadmin_LDADD = -lsgmisc -lsgdebug -lplibul -lz
 
 fgadmin.cxx fgadmin.h: fgadmin.fl
-	fluid -c fgadmin.fl
+	fluid -c $(VPATH)/fgadmin.fl
diff --git a/utils/fgpanel/Makefile.am b/utils/fgpanel/Makefile.am
index fedae05..380b6a0 100644
--- a/utils/fgpanel/Makefile.am
+++ b/utils/fgpanel/Makefile.am
@@ -16,7 +16,7 @@ fgpanel_SOURCES = main.cxx \
 #LIBS =
 
 fgpanel_LDADD = \
-	-lGLU -lglut -lsgmath -lsgprops -lsgio -lsgdebug -lsgmisc -lsgstructure -lsgxml -lsgtiming \
+	-lGL -lGLU -lglut -lsgmath -lsgprops -lsgio -lsgdebug -lsgmisc -lsgstructure -lsgxml -lsgtiming \
 	-lplibpu -lplibfnt -lplibul \
-	-lrt -lpng
+	-lrt -lpng -lz
 endif

Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to