From: kazer_ Date: Tue, 30 Oct 2007 18:22:53 +0000 (+0000) Subject: Fixed libceguisilly detection & added xerces parser detection X-Git-Tag: navit-0.5.0.5194svn~4659 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0aa1e84ea2bd43484e094a6ab1134edf55156401;p=profile%2Fivi%2Fnavit.git Fixed libceguisilly detection & added xerces parser detection git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@490 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/configure.in b/navit/configure.in index 41cd3bc..511a68c 100644 --- a/navit/configure.in +++ b/navit/configure.in @@ -164,9 +164,16 @@ AC_CHECK_LIB(CEGUIFalagardWRBase, main, CEGUI_LIBS="-lCEGUIBase -lCEGUIOpenGLRenderer -lCEGUIFalagardWRBase" # The following are optionnal, but we need to link against them if cegui was built with them -AC_CHECK_LIB(CEGUISILLYImageCodec, main, +libssilly="$OPENGL_LIBS -lpng" +AC_CHECK_LIB(CEGUISILLYImageCodec, createImageCodec, [CEGUI_LIBS="$CEGUI_LIBS -lCEGUISILLYImageCodec"], [echo "CEGUISILLYImageCodec not found/not working, disabled."], + $libssilly +) + +AC_CHECK_LIB(CEGUIXercesParser, main, + [CEGUI_LIBS="$CEGUI_LIBS -lCEGUIXercesParser"], + [echo "CEGUIXercesParser not found/not working, disabled."], $OPENGL_LIBS )