summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac14
1 files changed, 1 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac
index 627483ff35aa..383acfa8141c 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