[Libreoffice-commits] core.git: configure.ac

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


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

New commits:
commit 20d1e20d16ac377c160d47b53ff487a75fbd166f
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

diff --git a/configure.ac b/configure.ac
index 52cff05..27d6bd6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1574,7 +1574,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],
@@ -7330,18 +7330,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