[evince] [build] Disable comics backend on native windows builds
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: svn-commits-list gnome org
- Subject: [evince] [build] Disable comics backend on native windows builds
- Date: Fri, 5 Jun 2009 12:06:17 -0400 (EDT)
commit d436fe08f53a60b50f70f8c7563edb019007f98f
Author: Hib Eris <hib hiberis nl>
Date: Fri Jun 5 18:01:19 2009 +0200
[build] Disable comics backend on native windows builds
---
configure.ac | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index 0c9e38a..d1f1ed7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -511,7 +511,15 @@ dnl ================== comic book checks =======================================
AC_ARG_ENABLE(comics,
[AC_HELP_STRING([--enable-comics], [Compile with support for comic book archives])],enable_comics="$enableval",enable_comics=yes)
if test "x$enable_comics" = "xyes"; then
- AC_DEFINE([ENABLE_COMICS], [1], [Enable support for comics.])
+ if test "x$os_win32" = "xyes"; then
+ # The comics backend is disabled on windows because:
+ # 1) it uses unix functions from sys/wait.h.
+ # 2) it uses external decompression tools not generally available on windows.
+ enable_comics=no
+ AC_MSG_WARN(The comics backend is not supported on windows.)
+ else
+ AC_DEFINE([ENABLE_COMICS], [1], [Enable support for comics.])
+ fi
fi
AM_CONDITIONAL(ENABLE_COMICS, test x$enable_comics = xyes)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]