Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorHib Eris <hib@hiberis.nl>2009-06-05 16:01:19 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2009-06-05 16:01:19 (GMT)
commitd436fe08f53a60b50f70f8c7563edb019007f98f (patch)
tree63bcc0104ac479f35e96f9052685063661c87b51 /configure.ac
parentd0d7034bc1d16ad1cc2c3320d5333d472803ba5f (diff)
[build] Disable comics backend on native windows builds
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
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)