SDL_image: fixed linkage: used to always link with -ljpeg

From bbfcf29a0579443c527aee4f88f37f7e7e0ff9c4 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Fri, 16 Apr 2021 17:20:56 +0300
Subject: [PATCH] fixed linkage:  used to always link with -ljpeg

seems to have been broken by commit d94e8de4a4c3f9c
---
 configure    | 1 -
 configure.ac | 1 -
 2 files changed, 2 deletions(-)

diff --git a/configure b/configure
index 9c8df87..5147d80 100755
--- a/configure
+++ b/configure
@@ -12547,7 +12547,6 @@ fi
             $as_echo "#define LOAD_JPG 1" >>confdefs.h
 
         fi
-        LIBS="-ljpeg $LIBS"
 
         case "$host" in
             *-*-darwin*)
diff --git a/configure.ac b/configure.ac
index f3cec81..bd415ac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -163,7 +163,6 @@ if (test x$enable_jpg = xyes || test x$enable_tif = xyes) && test x$enable_image
         if test x$enable_jpg = xyes; then
             AC_DEFINE([LOAD_JPG])
         fi
-        LIBS="-ljpeg $LIBS"
 
         case "$host" in
             *-*-darwin*)