]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix webp detection on some Macos systems
authorDaniel Martín <mardani29@yahoo.es>
Sat, 27 Aug 2022 13:28:34 +0000 (15:28 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 27 Aug 2022 13:29:11 +0000 (15:29 +0200)
* configure.ac (HAVE_RSVG): Make webp detection work with Macos
10.3/Homebrew (bug#57420).

configure.ac

index 6ca3052ea3aa242690659fff2fbef444e9dd740b..4590ed3506e3076af19a09819b9a8c4307457ec5 100644 (file)
@@ -2773,12 +2773,9 @@ if test "${with_webp}" != "no"; then
    || test "${HAVE_W32}" = "yes" || test "${HAVE_NS}" = "yes" \
    || test "${HAVE_BE_APP}" = "yes" || test "${HAVE_PGTK}" = "yes"; then
       WEBP_REQUIRED=0.6.0
-      WEBP_MODULE="libwebp >= $WEBP_REQUIRED"
+      WEBP_MODULE="libwebpdemux >= $WEBP_REQUIRED"
 
       EMACS_CHECK_MODULES([WEBP], [$WEBP_MODULE])
-      if test "$HAVE_WEBP" = "yes"; then
-        WEBP_LIBS="-lwebp -lwebpdemux"
-      fi
       AC_SUBST([WEBP_CFLAGS])
       AC_SUBST([WEBP_LIBS])
    fi