diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-09-11 17:32:48 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-09-11 17:34:21 +0300 |
commit | 2e594d1685e052b56946273dd3b66600c658fb73 (patch) | |
tree | 12e174c4f9ddd82c58efd65daf9eb9fc6e9ac89d | |
parent | we still need to register the library (diff) | |
download | core-2e594d1685e052b56946273dd3b66600c658fb73.tar.gz core-2e594d1685e052b56946273dd3b66600c658fb73.zip |
Fix liblangtag and GLib checks for iOS and Android
Change-Id: If6b46ebdb63d7688830f5ee712c124c07e93661b
-rw-r--r-- | configure.in | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/configure.in b/configure.in index da39a70372c6..8b0de9a5bfbd 100644 --- a/configure.in +++ b/configure.in @@ -11272,9 +11272,9 @@ fi AC_SUBST(SYSTEM_GLIB) if test "$SYSTEM_GLIB" = "YES"; then - PKG_CHECK_MODULES( GLIB, glib-2.0 ) -else - BUILD_TYPE="$BUILD_TYPE GLIB" + PKG_CHECK_MODULES( GLIB, glib-2.0 ) +elif test $_os != iOS -a $_os != Android; then + BUILD_TYPE="$BUILD_TYPE GLIB" fi AC_SUBST(GLIB_CFLAGS) AC_SUBST(GLIB_LIBS) @@ -11285,17 +11285,17 @@ dnl =================================================================== ENABLE_LIBLANGTAG= SYSTEM_LIBLANGTAG= AC_MSG_CHECKING([whether to use liblangtag]) -if test "$enable_liblangtag" = "yes" -o \( "$enable_liblangtag" = "" -a "$CROSS_COMPILING" != "YES" \); then +if test "$enable_liblangtag" = "yes" -o \( "$enable_liblangtag" = "" -a $_os != Android -a $_os != iOS \); then ENABLE_LIBLANGTAG=YES AC_MSG_RESULT([yes]) AC_MSG_CHECKING([whether to use system liblangtag]) if test -n "$with_system_liblangtag"; then - SYSTEM_LIBLANGTAG=YES - AC_MSG_RESULT([yes]) - PKG_CHECK_MODULES( LIBLANGTAG, liblangtag >= 0.3) + SYSTEM_LIBLANGTAG=YES + AC_MSG_RESULT([yes]) + PKG_CHECK_MODULES( LIBLANGTAG, liblangtag >= 0.3) else - SYSTEM_LIBLANGTAG=NO - AC_MSG_RESULT([no]) + SYSTEM_LIBLANGTAG=NO + AC_MSG_RESULT([no]) BUILD_TYPE="$BUILD_TYPE LIBLANGTAG" fi else |