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
06b9b214
Kaydet (Commit)
06b9b214
authored
Tem 27, 2012
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Improved check for winegcc.
Change-Id: I307459f35d960ca901cd8dd609195734ab6db98b
üst
18d54a54
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
configure.in
configure.in
+14
-2
No files found.
configure.in
Dosyayı görüntüle @
06b9b214
...
@@ -1011,6 +1011,12 @@ AC_ARG_ENABLE(coretext,
...
@@ -1011,6 +1011,12 @@ AC_ARG_ENABLE(coretext,
[Use CoreText framework on Mac (instead of ATSU).]),
[Use CoreText framework on Mac (instead of ATSU).]),
)
)
AC_ARG_ENABLE(winegcc,
AS_HELP_STRING([--enable-winegcc],
[Enable use of winegcc during the build, in order to create msi* tools
needed for MinGW cross-compilation.]),
)
dnl ===================================================================
dnl ===================================================================
dnl Optional Packages (--with/without-)
dnl Optional Packages (--with/without-)
dnl ===================================================================
dnl ===================================================================
...
@@ -3557,6 +3563,7 @@ if test "$cross_compiling" = "yes"; then
...
@@ -3557,6 +3563,7 @@ if test "$cross_compiling" = "yes"; then
test -n "$with_system_expat_for_build" && sub_conf_opts="$sub_conf_opts --with-system-expat"
test -n "$with_system_expat_for_build" && sub_conf_opts="$sub_conf_opts --with-system-expat"
test "$with_system_icu_for_build" = "yes" -o "$with_system_icu_for_build" = "force" && sub_conf_opts="$sub_conf_opts --with-system-icu"
test "$with_system_icu_for_build" = "yes" -o "$with_system_icu_for_build" = "force" && sub_conf_opts="$sub_conf_opts --with-system-icu"
test -n "$with_system_libxml_for_build" && sub_conf_opts="$sub_conf_opts --with-system-libxml"
test -n "$with_system_libxml_for_build" && sub_conf_opts="$sub_conf_opts --with-system-libxml"
test "$WITH_MINGW" = "yes" && sub_conf_opts="$sub_conf_opts --enable-winegcc"
sub_conf_opts="$sub_conf_opts $with_build_platform_configure_options"
sub_conf_opts="$sub_conf_opts $with_build_platform_configure_options"
./configure \
./configure \
--disable-mozilla \
--disable-mozilla \
...
@@ -6106,13 +6113,16 @@ AC_SUBST(BUILD_EPM)
...
@@ -6106,13 +6113,16 @@ AC_SUBST(BUILD_EPM)
dnl ===================================================================
dnl ===================================================================
dnl We need winegcc when building MinGW build to be able to cross-build msi tools
dnl We need winegcc when building MinGW build to be able to cross-build msi tools
dnl ===================================================================
dnl ===================================================================
AC_PATH_PROG(WINEGCC, winegcc)
WINEGCC=
if test "$WITH_MINGW" = "yes" -a "$PKGFORMAT" = "msi" ; then
if test "$enable_winegcc" = "yes" ; then
AC_PATH_PROG(WINEGCC, winegcc)
if test "$WINEGCC" = ""; then
if test "$WINEGCC" = ""; then
AC_MSG_ERROR([winegcc was not found, please install wine-devel, or wine-devel-32bit])
AC_MSG_ERROR([winegcc was not found, please install wine-devel, or wine-devel-32bit])
fi
fi
CC_save="$CC"
CC_save="$CC"
ac_exeext_save="$ac_exeext"
CC="$WINEGCC -m32"
CC="$WINEGCC -m32"
ac_exeext=".exe"
AC_LINK_IFELSE([AC_LANG_PROGRAM([
AC_LINK_IFELSE([AC_LANG_PROGRAM([
#include <stdio.h>
#include <stdio.h>
],[
],[
...
@@ -6121,7 +6131,9 @@ printf ("hello world\n");
...
@@ -6121,7 +6131,9 @@ printf ("hello world\n");
[AC_MSG_ERROR([winegcc cannot build 32bit binaries, please install glibc-devel-32bit and gcc-32bit])]
[AC_MSG_ERROR([winegcc cannot build 32bit binaries, please install glibc-devel-32bit and gcc-32bit])]
)
)
CC="$CC_save"
CC="$CC_save"
ac_exeext="$ac_exeext_save"
fi
fi
AC_SUBST(WINEGCC)
dnl ===================================================================
dnl ===================================================================
dnl Check for gperf
dnl Check for gperf
...
...
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