diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-08-07 18:01:37 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-08-07 18:11:07 +0300 |
commit | 57aae2766dca48830d18828bb88b21cbbcb9e7de (patch) | |
tree | 643b03ffe6f9f3a107a492b2c837eec212d5150d /configure.in | |
parent | 4d6dab2cde759551ceee7e6aaec89fa5235b1ecc (diff) |
We don't want to use liblangtag on Android or iOS
We don't need GLib then either. For now just a quick dummy replacement
for liblangtag in i18npool that will crash at run-time. Improve once
it starts to get used, and once it is clear what functionality is
needed.
Change-Id: I9777c2c776dd6e479e1d6f0fb073f289ea6ff2f4
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/configure.in b/configure.in index c9e625da930c..66354736b4f5 100644 --- a/configure.in +++ b/configure.in @@ -10975,16 +10975,23 @@ GLIB_CFLAGS='' GLIB_LIBS='' if test "$SYSTEM_GLIB" = YES; then PKG_CHECK_MODULES( GLIB, glib-2.0 ) -else +elif test "$enable_librsvg" = fully-internal; then BUILD_TYPE="$BUILD_TYPE GLIB" fi AC_SUBST(GLIB_CFLAGS) AC_SUBST(GLIB_LIBS) dnl So far AFAIK no system has liblangtag, set this unconditionally for now. +dnl Except for Android and iOS where we don't want liblangtag. SYSTEM_LIBLANGTAG=NO -BUILD_TYPE="$BUILD_TYPE LIBLANGTAG" +case "$_os" in +iOS|Android) + ;; +*) + BUILD_TYPE="$BUILD_TYPE LIBLANGTAG" + ;; +esac AC_SUBST(SYSTEM_LIBLANGTAG) |