From: zaxl Date: Tue, 30 Oct 2007 13:19:27 +0000 (+0000) Subject: Do not link CEGUI libs everywhere X-Git-Tag: navit-0.5.0.5194svn~4662 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd8fff4d2bc8a42ace1ed35f995d80b0f8e49e69;p=profile%2Fivi%2Fnavit.git Do not link CEGUI libs everywhere git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@487 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/configure.in b/navit/configure.in index 3100371..ce0e69c 100644 --- a/navit/configure.in +++ b/navit/configure.in @@ -103,7 +103,9 @@ AC_PREPROC_IFELSE( if test x"$sdl" = xyes then - +# Save the LIBS into a temp var since AC_CHECK_LIB adds the lib into LIBS +# and we want just to check and use CEGUI_LIBS +libstemp="$LIBS" # For CEGUI, we have to check the presence of some libraries. # The following are mandatory (used by navit) # If the user installed NavIt without, issue a warning and disable CEGUI @@ -143,6 +145,7 @@ AC_CHECK_LIB(CEGUIDevILImageCodec, main, [echo "CEGUIDevILImageCodec not found/not working, disabled."] ) +LIBS="$libstemp" echo "LIBS : $CEGUI_LIBS" fi