From: <mar...@us...> - 2008-10-18 17:40:19
|
Revision: 1489 http://navit.svn.sourceforge.net/navit/?rev=1489&view=rev Author: martin-s Date: 2008-10-18 17:40:12 +0000 (Sat, 18 Oct 2008) Log Message: ----------- Fix:Core:Made compileable on wince Modified Paths: -------------- trunk/navit/configure.in Modified: trunk/navit/configure.in =================================================================== --- trunk/navit/configure.in 2008-10-18 17:38:50 UTC (rev 1488) +++ trunk/navit/configure.in 2008-10-18 17:40:12 UTC (rev 1489) @@ -80,7 +80,23 @@ X_CFLAGS="-I$x_includes" AS_IF([test -n "$ac_x_libraries"], [X_LIBS="-L$ac_x_libraries"]) -PKG_CHECK_MODULES(NAVIT, [glib-2.0 gmodule-2.0 gthread-2.0], [], AC_MSG_ERROR([glib-2.0 or gmodule-2.0 not found. Usually you need to install a package named glib2-devel or libglib2.0-dev])) +PKG_CHECK_MODULES(NAVIT, [glib-2.0 gmodule-2.0 gthread-2.0], + [ + glib=yes + ] + [ + AC_MSG_WARN([glib-2.0 or gmodule-2.0 not found. Usually you need to install a package named glib2-devel or libglib2.0-dev]) + glib=no + NAVIT_CFLAGS="-I\$(top_srcdir)/navit/support -I\$(top_srcdir)/navit/support/glib -I\$(top_srcdir)/navit/support/ezxml" + NAVIT_LIBS="-L\$(top_builddir)/navit/support/glib -lsupport_glib -L\$(top_builddir)/navit/support/ezxml -lsupport_ezxml" + ] +) +if test "x$glib" = "xyes"; then + AC_DEFINE(HAVE_GLIB, 1, [Define to 1 if you have (external) glib library]) +fi +AM_CONDITIONAL(EVENT_GLIB, [test "x$glib" = "xyes"]) +AM_CONDITIONAL(SUPPORT_GLIB, [test "x$glib" = "xno"]) +AM_CONDITIONAL(SUPPORT_EZXML, [test "x$glib" = "xno"]) AC_CHECK_HEADER( zlib.h, @@ -641,6 +657,8 @@ navit/speech/cmdline/Makefile navit/speech/speech_dispatcher/Makefile navit/support/Makefile +navit/support/ezxml/Makefile +navit/support/glib/Makefile navit/support/win32/Makefile navit/support/wordexp/Makefile navit/support/zlib/Makefile This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |