[Libreoffice-commits] core.git: Branch 'libreoffice-4-4' - configure.ac

Michael Stahl mstahl at redhat.com
Thu Nov 27 12:34:40 PST 2014


 configure.ac |   14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

New commits:
commit 2cab36dda4074ddfb20fc959fd7aa56c1b2b9463
Author: Michael Stahl <mstahl at redhat.com>
Date:   Thu Nov 27 21:27:28 2014 +0100

    configure: do not default to system libjpeg on Linux
    
    There are multiple different sonames of libjpeg in different distros,
    so use a system one only when system libs are requested.
    
    Change-Id: I164433a31ab0fb4723da6843eb1f1132c8447d9e
    (cherry picked from commit 20d1e20d16ac377c160d47b53ff487a75fbd166f)

diff --git a/configure.ac b/configure.ac
index 627483f..383acfa 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1580,7 +1580,7 @@ AC_ARG_WITH(system-zlib,
 AC_ARG_WITH(system-jpeg,
     AS_HELP_STRING([--with-system-jpeg],
         [Use jpeg already on system.]),,
-    [with_system_jpeg=auto])
+    [with_system_jpeg="$with_system_libs"])
 
 AC_ARG_WITH(system-libgltf,
     AS_HELP_STRING([--with-system-libgltf],
@@ -7321,18 +7321,6 @@ AC_SUBST(SYSTEM_ZLIB)
 dnl ===================================================================
 dnl Check for system jpeg
 dnl ===================================================================
-AC_MSG_CHECKING([which jpeg to use])
-if test "$with_system_jpeg" = "auto"; then
-    case "$_os" in
-    WINNT|Darwin|iOS|Android)
-        with_system_jpeg="$with_system_libs"
-        ;;
-    *)
-        with_system_jpeg=yes
-        ;;
-    esac
-fi
-
 if test "$with_jpeg_turbo" = "auto"; then
     # TODO use jpeg-turbo on Darwin too
     case "$_os" in


More information about the Libreoffice-commits mailing list