summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-07-05 23:10:56 +0300
committerTor Lillqvist <tml@iki.fi>2011-07-05 23:10:56 +0300
commitb368df0c540dbf6fa9ad1eb5a1fb1e00e6424c40 (patch)
treecd790d190e496dc0f3550b01568f2efe0485d277 /configure.in
parentaf0e566d2a084296b40782ae3e4b55abf2fc8f4d (diff)
Do build cairo for iOS
Diffstat (limited to 'configure.in')
-rwxr-xr-xconfigure.in24
1 files changed, 12 insertions, 12 deletions
diff --git a/configure.in b/configure.in
index aa9bfb66b..f8e8070b8 100755
--- a/configure.in
+++ b/configure.in
@@ -8057,19 +8057,19 @@ int main(int argc, char **argv) {
fi
else
AC_MSG_RESULT([no])
- dnl we only need cairo on windows if we
- dnl building librsvg
-
- dnl for iOS and Android cairo isn't
- dnl buildable yet anyway.
- if test "$ENABLE_LIBRSVG" != NO; then
- case "$_os" in
- WINNT|iOS|Android)
- ;;
- *)
+
+ if test $_os = Android; then
+ dnl For Android cairo isn't
+ dnl buildable yet.
+ :
+ elif test $_os = WINNT; then
+ dnl We only need cairo for Windows if we
+ dnl build librsvg
+ if test "$ENABLE_LIBRSVG" != NO; then
+ BUILD_TYPE="$BUILD_TYPE CAIRO"
+ fi
+ else
BUILD_TYPE="$BUILD_TYPE CAIRO"
- ;;
- esac
fi
fi