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
047bc546
Kaydet (Commit)
047bc546
authored
Eki 30, 2012
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
liblangtag needs glib too
Change-Id: I24b3c5dd299e0196a7a508286e27a79869f8f044
üst
9da51784
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
42 deletions
+41
-42
configure.ac
configure.ac
+41
-42
No files found.
configure.ac
Dosyayı görüntüle @
047bc546
...
...
@@ -1261,6 +1261,11 @@ AC_ARG_WITH(system-cairo,
[Use Cairo libraries already on system.]),,
[with_system_cairo="$with_system_libs"])
AC_ARG_WITH(system-glib,
AS_HELP_STRING([--with-system-glib],
[Use GLib library already installed on system.]),,
[with_system_glib=auto])
AC_ARG_WITH(system-graphite,
AS_HELP_STRING([--with-system-graphite],
[Use graphite library already installed on system.]),,
...
...
@@ -11430,12 +11435,14 @@ system)
;;
esac
want_glib=
dnl By now enable_librsvg should be "system", "internal", "fully-internal", or
dnl "no":
case $enable_librsvg in
system)
ENABLE_LIBRSVG=SYSTEM
SYSTEM_LIBRSVG=YES
want_glib=yes
;;
internal|fully-internal)
...
...
@@ -11443,6 +11450,7 @@ internal|fully-internal)
SYSTEM_LIBRSVG=NO
BUILD_TYPE="$BUILD_TYPE LIBRSVG"
LIBRSVG_TARBALL="d7a242ca43e33e1b63d3073f9d46a6a8-librsvg-2.32.1.tar.gz"
want_glib=yes
;;
no)
...
...
@@ -11566,48 +11574,6 @@ else
fi
AC_SUBST(SYSTEM_GDKPIXBUF)
dnl ===================================================================
dnl Test whether to build GLib or rely on the system version
dnl ===================================================================
if test "$ENABLE_LIBRSVG" != NO; then
AC_MSG_CHECKING([whether to use the system GLib])
dnl As long as the only thing we need GLib for is below
dnl librsvg, use the same --enable-librsvg (possibly implied
dnl by --with-system-libs) to override this.
if test "$SYSTEM_LIBRSVG" = YES; then
SYSTEM_GLIB=YES
elif test "$enable_librsvg" = fully-internal; then
SYSTEM_GLIB=NO
else
case "$_os" in
WINNT|Darwin|iOS|Android)
SYSTEM_GLIB=NO
;;
*)
SYSTEM_GLIB=YES
;;
esac
fi
if test "$SYSTEM_GLIB" = "YES"; then
AC_MSG_RESULT([yes])
PKG_CHECK_MODULES( GLIB, glib-2.0 )
else
AC_MSG_RESULT([no])
BUILD_TYPE="$BUILD_TYPE GLIB"
fi
else
GLIB_CFLAGS=
GLIB_LIBS=
SYSTEM_GLIB=NO
fi
AC_SUBST(SYSTEM_GLIB)
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
dnl ===================================================================
dnl Test whether to use liblangtag
dnl ===================================================================
...
...
@@ -11616,6 +11582,7 @@ SYSTEM_LIBLANGTAG=
AC_MSG_CHECKING([whether to use liblangtag])
if test "$enable_liblangtag" = "yes" -o \( "$enable_liblangtag" = "" -a $_os != Android -a $_os != iOS \); then
ENABLE_LIBLANGTAG=YES
want_glib=yes
AC_MSG_RESULT([yes])
AC_MSG_CHECKING([whether to use system liblangtag])
if test "$with_system_liblangtag" = yes; then
...
...
@@ -11636,6 +11603,38 @@ AC_SUBST(SYSTEM_LIBLANGTAG)
AC_SUBST(LIBLANGTAG_CFLAGS)
AC_SUBST(LIBLANGTAG_LIBS)
dnl ===================================================================
dnl Test whether to build GLib or rely on the system version
dnl ===================================================================
if test "$want_glib" = yes; then
if test "$with_system_glib" = auto; then
case "$_os" in
WINNT|Darwin|iOS|Android)
with_system_glib="$with_system_libs"
;;
*)
with_system_glib=yes
;;
esac
fi
AC_MSG_CHECKING([which GLib to use])
if test "$with_system_glib" = yes; then
AC_MSG_RESULT([external])
SYSTEM_GLIB=YES
PKG_CHECK_MODULES( GLIB, glib-2.0 )
else
AC_MSG_RESULT([internal])
SYSTEM_GLIB=NO
BUILD_TYPE="$BUILD_TYPE GLIB"
fi
fi
AC_SUBST([SYSTEM_GLIB])
AC_SUBST([GLIB_CFLAGS])
AC_SUBST([GLIB_LIBS])
dnl ===================================================================
dnl Test whether to build gettext runtime (libintl) or rely on the
dnl system version
...
...
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