Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
b6640bde
Kaydet (Commit)
b6640bde
authored
Eyl 11, 2012
tarafından
Rene Engelhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
implement --with-system-liblangtag
Change-Id: I182f95c294ec41cf74cd495fd6141a7d1c33b3ff
üst
6c29057f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
15 deletions
+29
-15
config_host.mk.in
config_host.mk.in
+2
-0
configure.in
configure.in
+27
-15
No files found.
config_host.mk.in
Dosyayı görüntüle @
b6640bde
...
@@ -291,6 +291,8 @@ export LIBFONTS_JAR=@LIBFONTS_JAR@
...
@@ -291,6 +291,8 @@ export LIBFONTS_JAR=@LIBFONTS_JAR@
export LIBFORMULA_JAR=@LIBFORMULA_JAR@
export LIBFORMULA_JAR=@LIBFORMULA_JAR@
export LIBJSON=@LIBJSON@
export LIBJSON=@LIBJSON@
export LIBLAYOUT_JAR=@LIBLAYOUT_JAR@
export LIBLAYOUT_JAR=@LIBLAYOUT_JAR@
export LIBLANGTAG_CFLAGS=@LIBLANGTAG_CFLAGS@
export LIBLANGTAG_LIBS=@LIBLANGTAG_LIBS@
export LIBLOADER_JAR=@LIBLOADER_JAR@
export LIBLOADER_JAR=@LIBLOADER_JAR@
export LIBMGR_X64_BINARY=@LIBMGR_X64_BINARY@
export LIBMGR_X64_BINARY=@LIBMGR_X64_BINARY@
export LIBMYSQL_PATH=@LIBMYSQL_PATH@
export LIBMYSQL_PATH=@LIBMYSQL_PATH@
...
...
configure.in
Dosyayı görüntüle @
b6640bde
...
@@ -1642,6 +1642,11 @@ AC_ARG_WITH(system-orcus,
...
@@ -1642,6 +1642,11 @@ AC_ARG_WITH(system-orcus,
[Use orcus library already on system.]),,
[Use orcus library already on system.]),,
[with_system_orcus="$with_system_libs"])
[with_system_orcus="$with_system_libs"])
AC_ARG_WITH(system-liblangtag,
AS_HELP_STRING([--with-system-liblangtag],
[Use orcus library already on system.]),,
[with_system_liblangtag="$with_system_libs"])
AC_ARG_WITH(system-mozilla,
AC_ARG_WITH(system-mozilla,
AS_HELP_STRING([--with-system-mozilla],
AS_HELP_STRING([--with-system-mozilla],
[Use Mozilla already on system. Note that some components cannot be built
[Use Mozilla already on system. Note that some components cannot be built
...
@@ -11247,34 +11252,41 @@ else
...
@@ -11247,34 +11252,41 @@ else
fi
fi
AC_SUBST(SYSTEM_GLIB)
AC_SUBST(SYSTEM_GLIB)
if test "$SYSTEM_GLIB" = "YES"; then
PKG_CHECK_MODULES( GLIB, glib-2.0 )
else
BUILD_TYPE="$BUILD_TYPE GLIB"
fi
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
dnl ===================================================================
dnl ===================================================================
dnl Test whether to use liblangtag
dnl Test whether to use liblangtag
dnl ===================================================================
dnl ===================================================================
ENABLE_LIBLANGTAG=
ENABLE_LIBLANGTAG=
SYSTEM_LIBLANGTAG=
SYSTEM_LIBLANGTAG=
GLIB_CFLAGS=''
AC_MSG_CHECKING([whether to use liblangtag])
GLIB_LIBS=''
if test "$enable_liblangtag" = "yes" -o \( "$enable_liblangtag" = "" -a "$CROSS_COMPILING" != "YES" \); then
if test "$enable_liblangtag" = "yes" -o \( "$enable_liblangtag" = "" -a "$CROSS_COMPILING" != "YES" \); then
ENABLE_LIBLANGTAG=YES
ENABLE_LIBLANGTAG=YES
dnl Get system's glib flags and libs.
AC_MSG_RESULT([yes])
dnl The i18npool LanguageTag wrapper uses it for liblangtag.
AC_MSG_CHECKING([whether to use system liblangtag])
if test -n "$with_system_liblangtag"; then
if test "$SYSTEM_GLIB" = YES; then
SYSTEM_LIBLANGTAG=YES
PKG_CHECK_MODULES( GLIB, glib-2.0 )
AC_MSG_RESULT([yes])
PKG_CHECK_MODULES( LIBLANGTAG, liblangtag >= 0.3)
else
else
BUILD_TYPE="$BUILD_TYPE GLIB"
SYSTEM_LIBLANGTAG=NO
AC_MSG_RESULT([no])
BUILD_TYPE="$BUILD_TYPE LIBLANGTAG"
fi
fi
else
dnl So far AFAIK no system has liblangtag, set this unconditionally for now.
ENABLE_LIBLANGTAG=NO
dnl TODO Allow system liblangtag
AC_MSG_RESULT([no])
BUILD_TYPE="$BUILD_TYPE LIBLANGTAG"
fi
fi
AC_SUBST(ENABLE_LIBLANGTAG)
AC_SUBST(ENABLE_LIBLANGTAG)
AC_SUBST(SYSTEM_LIBLANGTAG)
AC_SUBST(SYSTEM_LIBLANGTAG)
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(LIBLANGTAG_CFLAGS)
AC_SUBST(GLIB_LIBS)
AC_SUBST(LIBLANGTAG_LIBS)
dnl ===================================================================
dnl ===================================================================
dnl Test whether to build gettext runtime (libintl) or rely on the
dnl Test whether to build gettext runtime (libintl) or rely on the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment