]> git.eshelyaron.com Git - emacs.git/commitdiff
* configure.ac (HAVE_GIF): Respect --with-gif on PGTK. (bug#54633)
authorPo Lu <luangruo@yahoo.com>
Tue, 5 Apr 2022 01:07:36 +0000 (09:07 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 5 Apr 2022 01:07:36 +0000 (09:07 +0800)
configure.ac

index 254f15bef3e8562eac116c3d50519dfc4c6362de..cda2a04be955dd2a4ecebe8558b3139ea38537bb 100644 (file)
@@ -4292,7 +4292,8 @@ if test "${opsys}" = "mingw32"; then
   fi
 elif test "${HAVE_X11}" = "yes" && test "${with_gif}" != "no" \
         || test "${HAVE_W32}" = "yes" || test "${HAVE_NS}" = "yes" \
-       || test "${HAVE_BE_APP}" = "yes" || test "$window_system" = "pgtk"; then
+       || test "${HAVE_BE_APP}" = "yes" || test "$window_system" = "pgtk" \
+       && test "${with_gif}" != "no"; then
   AC_CHECK_HEADER(gif_lib.h,
 # EGifPutExtensionLast only exists from version libungif-4.1.0b1.
 # Earlier versions can crash Emacs, but version 5.0 removes EGifPutExtensionLast.