diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 800606c..443573d 100644 --- a/configure.in +++ b/configure.in @@ -366,6 +366,20 @@ if test x$TETEX = xno; then AC_MSG_WARN(Couldn't find texi2html usualy in the tetex package, please install it) fi + +dnl GNET support +AC_MSG_CHECKING([wether we build with GNET (if not, networking will be disabled)]) +AC_ARG_ENABLE(gnet, + AC_HELP_STRING( + [--disable-gnet], + [Turn on gnet (will let GCompris fetch content from a web server)]), + with_gnet="$enableval", with_gnet="no") +AC_MSG_RESULT($with_gnet) + +if test x$with_gnet = xyes; then + PKG_CHECK_MODULES(GNET, gnet-2.0,, AC_MSG_ERROR([*** GNET not found!])) + AC_DEFINE([USE_GNET], 1,[Networking is enabled]) +fi dnl SQLITE support AC_MSG_CHECKING([wether we build with SQLITE (if not profile will be disabled)]) @@ -569,6 +583,7 @@ echo "XF86VM option (--enable-xf86vidmode) = $found_xf86vidmode" echo "SQLITE database (--enable-sqlite) = $with_sqlite (profiles depend on this)" +echo "GNET Networking (--enable-gnet) = $with_gnet (networking depends on this)" echo "BINRELOC (--enable-binreloc) = $br_cv_binreloc" echo "NSBundle (--enable-nsbundle) = $nsbundle" |